Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.00168, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001593/0.001593, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.579/1.579, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 65.23 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2947/1.353, allocations: 162.1 MB / 1.241 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04434/1.398, allocations: 26.94 MB / 1.267 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004777/1.402, allocations: 71.62 kB / 1.268 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003659/1.406, allocations: 1.033 MB / 1.269 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007895/1.414, allocations: 1.793 MB / 1.27 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005963/1.42, allocations: 1.72 MB / 1.272 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009769/1.43, allocations: 5.277 MB / 1.277 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008103/1.438, allocations: 4.17 MB / 1.281 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/1.444, allocations: 2.108 MB / 1.283 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/1.449, allocations: 2.515 MB / 1.286 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001837/1.451, allocations: 460 kB / 1.286 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/1.454, allocations: 1.038 MB / 1.287 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002284/1.457, allocations: 1.18 MB / 1.288 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003994/1.461, allocations: 2.127 MB / 1.29 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008709/1.47, allocations: 5.873 MB / 1.296 GB, free: 3.848 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/1.47, allocations: 0 / 1.296 GB, free: 3.848 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.47, allocations: 3.938 kB / 1.296 GB, free: 3.844 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001839/1.47, allocations: 0 / 1.296 GB, free: 3.844 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01263/1.482, allocations: 4.62 MB / 1.301 GB, free: 15.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.483, allocations: 8.031 kB / 1.301 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/1.497, allocations: 2.776 MB / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005877/1.503, allocations: 2.274 MB / 1.306 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/1.503, allocations: 246.3 kB / 1.306 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009971/1.504, allocations: 312 kB / 1.306 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/1.518, allocations: 5.158 MB / 1.311 GB, free: 4.203 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.79e-05/1.518, allocations: 4 kB / 1.311 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004515/1.518, allocations: 136 kB / 1.311 GB, free: 4.066 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-05/1.518, allocations: 79.94 kB / 1.311 GB, free: 3.988 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/1.535, allocations: 6.283 MB / 1.318 GB, free: 13.69 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/1.567, allocations: 14.7 MB / 1.332 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/1.579, allocations: 4.703 MB / 1.336 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006045/1.585, allocations: 2.433 MB / 1.339 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.587, allocations: 0.6775 MB / 1.339 GB, free: 6.465 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006356/1.593, allocations: 2.618 MB / 1.342 GB, free: 3.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 5.09e-06/1.593, allocations: 0 / 1.342 GB, free: 3.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.01943/1.612, allocations: 7.396 MB / 1.349 GB, free: 12.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/1.613, allocations: 214.1 kB / 1.349 GB, free: 12.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/1.617, allocations: 2.438 MB / 1.352 GB, free: 9.566 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.617, allocations: 81.7 kB / 1.352 GB, free: 9.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.619, allocations: 1.33 MB / 1.353 GB, free: 8.137 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.62, allocations: 0.9088 MB / 1.354 GB, free: 7.215 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/1.622, allocations: 0.5047 MB / 1.355 GB, free: 6.703 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.622, allocations: 305.1 kB / 1.355 GB, free: 6.402 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/1.627, allocations: 2.034 MB / 1.357 GB, free: 4.363 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/1.633, allocations: 2.337 MB / 1.359 GB, free: 1.953 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.644, allocations: 4.277 MB / 1.363 GB, free: 13.59 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/1.644, allocations: 3.984 kB / 1.363 GB, free: 13.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01539/1.659, allocations: 4.993 MB / 1.368 GB, free: 8.543 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/1.659, allocations: 8 kB / 1.368 GB, free: 8.535 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.659, allocations: 4 kB / 1.368 GB, free: 8.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/1.66, allocations: 236.7 kB / 1.368 GB, free: 8.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/1.665, allocations: 0.8151 MB / 1.369 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/1.67, allocations: 3.376 MB / 1.373 GB, free: 3.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.675, allocations: 0.5596 MB / 1.373 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000885/1.676, allocations: 119.9 kB / 1.373 GB, free: 3.293 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003477/1.679, allocations: 0.9384 MB / 1.374 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.681, allocations: 276.7 kB / 1.374 GB, free: 2.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.698, allocations: 5.637 MB / 1.38 GB, free: 12.37 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.698, allocations: 32 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/1.698, allocations: 4 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/1.698, allocations: 15.94 kB / 1.38 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/1.706, allocations: 3.692 MB / 1.384 GB, free: 8.562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/1.706, allocations: 0 / 1.384 GB, free: 8.562 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/1.71, allocations: 0.7371 MB / 1.384 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.711, allocations: 270.3 kB / 1.385 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/1.712, allocations: 83.92 kB / 1.385 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/1.718, allocations: 5.237 MB / 1.39 GB, free: 1.934 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.718, allocations: 4.062 kB / 1.39 GB, free: 1.93 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/1.741, allocations: 8.022 MB / 1.398 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.743, allocations: 0.8327 MB / 1.398 GB, free: 8.961 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.745, allocations: 75.77 kB / 1.398 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/1.749, allocations: 415.3 kB / 1.399 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/1.749, allocations: 206 kB / 1.399 GB, free: 8.277 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005196/1.75, allocations: 111.9 kB / 1.399 GB, free: 8.168 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004068/1.754, allocations: 1.781 MB / 1.401 GB, free: 6.375 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/1.754, allocations: 0 / 1.401 GB, free: 6.375 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004384/1.758, allocations: 1.056 MB / 1.402 GB, free: 5.316 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004372/1.763, allocations: 1.06 MB / 1.403 GB, free: 4.598 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02415/1.787, allocations: 8.538 MB / 1.411 GB, free: 12.02 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.787, allocations: 4.062 kB / 1.411 GB, free: 12.01 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007607/1.795, allocations: 2.764 MB / 1.414 GB, free: 9.219 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.8, allocations: 0.7148 MB / 1.415 GB, free: 8.543 MB / 1.139 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.821, allocations: 7.964 MB / 1.422 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004195/1.825, allocations: 2.381 MB / 1.425 GB, free: 14.11 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/1.828, allocations: 319.2 kB / 1.425 GB, free: 13.8 MB / 1.154 GB Notification: Performance of SimCode: time 1.152e-06/1.828, allocations: 0 / 1.425 GB, free: 13.8 MB / 1.154 GB Notification: Performance of Templates: time 0.1483/1.976, allocations: 84.76 MB / 1.508 GB, free: 9.125 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches