Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 192.2 kB / 498.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001044, allocations: 108.2 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004115, allocations: 9.219 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3368, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.5331, allocations: 150.1 MB / 1.369 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5334, allocations: 83.89 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006953/0.5404, allocations: 2.693 MB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5404, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5405, allocations: 3.938 kB / 1.372 GB, free: 9.09 MB / 0.8698 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.0003339/0.5408, allocations: 363.6 kB / 1.373 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5409, allocations: 8.031 kB / 1.373 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.5409, allocations: 75.28 kB / 1.373 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5411, allocations: 246.3 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.5412, allocations: 150.6 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.5412, allocations: 154.6 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.5413, allocations: 104.9 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.5413, allocations: 75.28 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.5414, allocations: 150.6 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.5415, allocations: 154.6 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.5415, allocations: 154.6 kB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.5418, allocations: 445.9 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.5419, allocations: 174.3 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.5419, allocations: 83.2 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.542, allocations: 109.8 kB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.542, allocations: 4 kB / 1.375 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.211e-05/0.5421, allocations: 25.7 kB / 1.375 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5421, allocations: 126.7 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.5422, allocations: 89 kB / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.5422, allocations: 25.7 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.5423, allocations: 84.14 kB / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.5423, allocations: 0 / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.5423, allocations: 0 / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5424, allocations: 315 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.5424, allocations: 3.938 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-06/0.5424, allocations: 3.984 kB / 1.375 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.5425, allocations: 83.23 kB / 1.375 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.63e-05/0.5425, allocations: 75.28 kB / 1.375 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.975e-05/0.5426, allocations: 29.61 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.5426, allocations: 84.69 kB / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.5426, allocations: 79.31 kB / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.514e-05/0.5427, allocations: 158.5 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.5427, allocations: 75.28 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.488e-05/0.5428, allocations: 162.5 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.5429, allocations: 79.27 kB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.5429, allocations: 75.28 kB / 1.376 GB, free: 4.922 MB / 0.8698 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.543, allocations: 268.3 kB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.5431, allocations: 105 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.5431, allocations: 107.9 kB / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.469e-05/0.5432, allocations: 184.2 kB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-05/0.5433, allocations: 184.2 kB / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.816e-05/0.5433, allocations: 188.1 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.5436, allocations: 397.2 kB / 1.377 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/0.5436, allocations: 112.9 kB / 1.378 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.5436, allocations: 108.9 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.5437, allocations: 176.3 kB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.5438, allocations: 180.2 kB / 1.378 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.305e-05/0.5438, allocations: 185.1 kB / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.692e-05/0.5439, allocations: 188.2 kB / 1.378 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.544, allocations: 303.7 kB / 1.379 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.5441, allocations: 190 kB / 1.379 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.5442, allocations: 184.2 kB / 1.379 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.5443, allocations: 105.4 kB / 1.379 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.5444, allocations: 184.2 kB / 1.379 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.5444, allocations: 101 kB / 1.379 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.5444, allocations: 75.28 kB / 1.379 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5444, allocations: 0 / 1.379 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003194/0.5448, allocations: 51.98 kB / 1.379 GB, free: 1.195 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005653/0.5453, allocations: 333.8 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.278e-05/0.5454, allocations: 3.938 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5454, allocations: 0 / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.5454, allocations: 4 kB / 1.38 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5457, allocations: 0.5224 MB / 1.38 GB, free: 372 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.5459, allocations: 164 kB / 1.38 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5462, allocations: 0.6731 MB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.546e-06/0.5462, allocations: 0 / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.5462, allocations: 7.438 kB / 1.381 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5462, allocations: 3.938 kB / 1.381 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.002956/0.5492, allocations: 0.9715 MB / 1.382 GB, free: 14.49 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches