Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 194.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.975/2.975, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003341, allocations: 63.89 kB / 0.8688 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7829, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00274/0.7857, allocations: 1.327 MB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.7869, allocations: 0.7229 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.787, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.787, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.7873, allocations: 7.984 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.7875, allocations: 53 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.7876, allocations: 27.92 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.7876, allocations: 3.984 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.7877, allocations: 8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.7879, allocations: 11.92 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.7879, allocations: 4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.788, allocations: 7.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.788, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.7881, allocations: 7.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.7882, allocations: 27.95 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7882, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7882, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7882, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004097/0.7886, allocations: 329.5 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7886, allocations: 15.97 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.7888, allocations: 76.22 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.789, allocations: 243.5 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/0.7891, allocations: 162.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.7892, allocations: 150.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.7893, allocations: 101.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.7893, allocations: 75.47 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.7894, allocations: 162.4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/0.7895, allocations: 150.6 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.7896, allocations: 170.5 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.7899, allocations: 442 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.7901, allocations: 173.1 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.7901, allocations: 80.14 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.7902, allocations: 79.28 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.587e-05/0.7902, allocations: 105.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.297e-06/0.7902, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.391e-05/0.7903, allocations: 37.58 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.7904, allocations: 126.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.7906, allocations: 109.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7906, allocations: 25.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.7907, allocations: 88.12 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.7907, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.7907, allocations: 17.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7909, allocations: 314.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.7909, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.791, allocations: 11.98 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.791, allocations: 16.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.791, allocations: 4.344 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.7911, allocations: 49.59 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7912, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.7912, allocations: 7.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7912, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.7912, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7912, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.7913, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.7913, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.7915, allocations: 193.1 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.7916, allocations: 104.9 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.7916, allocations: 108.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001613/0.7918, allocations: 184.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-05/0.7919, allocations: 184.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.792, allocations: 184.2 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.7923, allocations: 401.2 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/0.7924, allocations: 109 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.7925, allocations: 105 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.7926, allocations: 184.2 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.7927, allocations: 180.4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001029/0.7929, allocations: 184.2 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.343e-05/0.7929, allocations: 180.3 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.7932, allocations: 311.7 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.7934, allocations: 182.1 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7935, allocations: 188.1 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.7936, allocations: 105 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.7937, allocations: 188.2 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.7938, allocations: 101 kB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.7939, allocations: 79.28 kB / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7939, allocations: 0 / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002693/0.7941, allocations: 7.984 kB / 1.025 GB, free: 9.355 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005036/0.7946, allocations: 197.7 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.7948, allocations: 8 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7948, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-06/0.7948, allocations: 3.938 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.7953, allocations: 457.1 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.7956, allocations: 176.8 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.7959, allocations: 0.6768 MB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.796, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.796, allocations: 7.438 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.796, allocations: 4 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.00305/0.799, allocations: 429.8 kB / 1.027 GB, free: 7.367 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches