Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_9_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.001395/0.001395, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001502/0.001502, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 59.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.876, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2183/1.094, allocations: 160.5 MB / 1.245 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04066/1.135, allocations: 26.76 MB / 1.271 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004671/1.14, allocations: 71.62 kB / 1.272 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/1.143, allocations: 0.9985 MB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006621/1.15, allocations: 1.695 MB / 1.274 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005154/1.155, allocations: 1.702 MB / 1.276 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00723/1.162, allocations: 4.875 MB / 1.281 GB, free: 9.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005909/1.168, allocations: 4.215 MB / 1.285 GB, free: 4.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/1.173, allocations: 2.079 MB / 1.287 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/1.176, allocations: 2.46 MB / 1.289 GB, free: 216 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008906/1.177, allocations: 464 kB / 1.29 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/1.18, allocations: 1.058 MB / 1.291 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009753/1.181, allocations: 1.169 MB / 1.292 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/1.183, allocations: 2.045 MB / 1.294 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007318/1.19, allocations: 5.836 MB / 1.299 GB, free: 5.621 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.19, allocations: 4 kB / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/1.19, allocations: 0 / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001533/1.191, allocations: 0 / 1.299 GB, free: 5.617 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.0117/1.202, allocations: 4.558 MB / 1.304 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.202, allocations: 8.031 kB / 1.304 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/1.216, allocations: 2.773 MB / 1.307 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/1.222, allocations: 2.316 MB / 1.309 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/1.222, allocations: 238.4 kB / 1.309 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/1.223, allocations: 312 kB / 1.309 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/1.236, allocations: 5.162 MB / 1.314 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/1.236, allocations: 0 / 1.314 GB, free: 6.008 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004113/1.237, allocations: 132 kB / 1.315 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/1.237, allocations: 80 kB / 1.315 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/1.252, allocations: 6.287 MB / 1.321 GB, free: 15.5 MB / 1.061 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.02658/1.279, allocations: 14 MB / 1.334 GB, free: 1.062 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.29, allocations: 4.708 MB / 1.339 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00584/1.296, allocations: 2.433 MB / 1.341 GB, free: 9.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.297, allocations: 0.6618 MB / 1.342 GB, free: 9.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006629/1.304, allocations: 2.623 MB / 1.345 GB, free: 6.453 MB / 1.076 GB Notification: Performance of pre-optimization done (n=278): time 5.72e-06/1.304, allocations: 4 kB / 1.345 GB, free: 6.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=278): time 0.01986/1.324, allocations: 7.392 MB / 1.352 GB, free: 14.94 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.324, allocations: 214.1 kB / 1.352 GB, free: 14.68 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/1.329, allocations: 2.433 MB / 1.354 GB, free: 12.22 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005488/1.329, allocations: 73.7 kB / 1.354 GB, free: 12.14 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.331, allocations: 1.349 MB / 1.356 GB, free: 10.78 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.332, allocations: 0.9049 MB / 1.357 GB, free: 9.859 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/1.333, allocations: 0.5047 MB / 1.357 GB, free: 9.348 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.333, allocations: 313 kB / 1.357 GB, free: 9.039 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.339, allocations: 2.019 MB / 1.359 GB, free: 7.016 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005559/1.344, allocations: 2.337 MB / 1.362 GB, free: 4.605 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.355, allocations: 4.273 MB / 1.366 GB, free: 252 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/1.355, allocations: 4 kB / 1.366 GB, free: 248 kB / 1.092 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01361/1.368, allocations: 4.989 MB / 1.371 GB, free: 11.2 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/1.369, allocations: 8 kB / 1.371 GB, free: 11.2 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.369, allocations: 4.109 kB / 1.371 GB, free: 11.19 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/1.369, allocations: 241.9 kB / 1.371 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/1.374, allocations: 0.819 MB / 1.372 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/1.378, allocations: 3.362 MB / 1.375 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/1.383, allocations: 0.5596 MB / 1.376 GB, free: 6.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007402/1.384, allocations: 115.9 kB / 1.376 GB, free: 5.957 MB / 1.107 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.00286/1.386, allocations: 0.9479 MB / 1.377 GB, free: 5 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.388, allocations: 272.6 kB / 1.377 GB, free: 4.73 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.403, allocations: 5.623 MB / 1.382 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.403, allocations: 28 kB / 1.382 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.403, allocations: 4 kB / 1.382 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-05/1.403, allocations: 11.95 kB / 1.382 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/1.41, allocations: 3.683 MB / 1.386 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.41, allocations: 7.875 kB / 1.386 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004038/1.414, allocations: 0.741 MB / 1.387 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009123/1.415, allocations: 264.7 kB / 1.387 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004608/1.415, allocations: 83.92 kB / 1.387 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/1.42, allocations: 5.236 MB / 1.392 GB, free: 4.621 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.42, allocations: 4.031 kB / 1.392 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.44, allocations: 8.01 MB / 1.4 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.443, allocations: 0.8365 MB / 1.401 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/1.444, allocations: 67.89 kB / 1.401 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.447, allocations: 415.4 kB / 1.401 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006191/1.448, allocations: 206 kB / 1.402 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004003/1.448, allocations: 107.9 kB / 1.402 GB, free: 10.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003204/1.452, allocations: 1.769 MB / 1.403 GB, free: 9.094 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.7e-07/1.452, allocations: 0 / 1.403 GB, free: 9.094 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003435/1.455, allocations: 1.024 MB / 1.404 GB, free: 8.066 MB / 1.139 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.002891/1.458, allocations: 1.05 MB / 1.405 GB, free: 7.348 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.47, allocations: 4.897 MB / 1.41 GB, free: 2.406 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.47, allocations: 0 / 1.41 GB, free: 2.406 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00665/1.477, allocations: 2.769 MB / 1.413 GB, free: 15.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.481, allocations: 0.6544 MB / 1.414 GB, free: 14.99 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.498, allocations: 7.812 MB / 1.421 GB, free: 7.129 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/1.501, allocations: 2.381 MB / 1.423 GB, free: 4.719 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/1.503, allocations: 323.1 kB / 1.424 GB, free: 4.406 MB / 1.154 GB Notification: Performance of SimCode: time 1.262e-06/1.503, allocations: 0 / 1.424 GB, free: 4.406 MB / 1.154 GB Notification: Performance of Templates: time 0.115/1.618, allocations: 84.14 MB / 1.506 GB, free: 340 kB / 1.232 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches