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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001377/0.001377, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002073/0.002073, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003454, allocations: 8 kB / 0.8145 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7715, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1643/0.9359, allocations: 135.7 MB / 1.086 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03433/0.9703, allocations: 22.74 MB / 1.108 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.9738, allocations: 59.62 kB / 1.108 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.9764, allocations: 0.9412 MB / 1.109 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006824/0.9832, allocations: 2.145 MB / 1.111 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005168/0.9884, allocations: 1.662 MB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005899/0.9943, allocations: 2.894 MB / 1.116 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004494/0.9988, allocations: 2.911 MB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/1.001, allocations: 1.338 MB / 1.12 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/1.004, allocations: 1.634 MB / 1.121 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008116/1.005, allocations: 108 kB / 1.122 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/1.007, allocations: 0.5814 MB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.008, allocations: 0.7042 MB / 1.123 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/1.009, allocations: 0.6286 MB / 1.123 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005276/1.015, allocations: 4.364 MB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.015, allocations: 0 / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/1.015, allocations: 0 / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002506/1.015, allocations: 0 / 1.128 GB, free: 13.38 MB / 0.8887 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.01117/1.026, allocations: 3.931 MB / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.026, allocations: 11.97 kB / 1.132 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/1.041, allocations: 2.893 MB / 1.134 GB, free: 6.445 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/1.048, allocations: 2.175 MB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/1.048, allocations: 234.4 kB / 1.137 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/1.049, allocations: 312 kB / 1.137 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/1.065, allocations: 5.154 MB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/1.065, allocations: 11.84 kB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008038/1.065, allocations: 128 kB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/1.066, allocations: 76 kB / 1.142 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/1.083, allocations: 6.35 MB / 1.148 GB, free: 7.852 MB / 0.9044 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.03237/1.115, allocations: 14.16 MB / 1.162 GB, free: 9.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/1.127, allocations: 4.747 MB / 1.167 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.128, allocations: 0.6618 MB / 1.168 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006591/1.135, allocations: 2.612 MB / 1.17 GB, free: 1.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=278): time 7.575e-06/1.135, allocations: 0 / 1.17 GB, free: 1.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=278): time 0.02037/1.155, allocations: 7.407 MB / 1.177 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.155, allocations: 214 kB / 1.178 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004541/1.16, allocations: 2.433 MB / 1.18 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006905/1.161, allocations: 73.7 kB / 1.18 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/1.162, allocations: 1.357 MB / 1.181 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.164, allocations: 0.9049 MB / 1.182 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004515/1.164, allocations: 52 kB / 1.182 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003027/1.164, allocations: 402.9 kB / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/1.17, allocations: 2.003 MB / 1.185 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00559/1.175, allocations: 2.32 MB / 1.187 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00568/1.181, allocations: 2.129 MB / 1.189 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/1.181, allocations: 4 kB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01341/1.194, allocations: 4.929 MB / 1.194 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.195, allocations: 8 kB / 1.194 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.195, allocations: 4 kB / 1.194 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/1.195, allocations: 234.4 kB / 1.194 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004557/1.2, allocations: 0.8463 MB / 1.195 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/1.204, allocations: 3.185 MB / 1.198 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.209, allocations: 0.5842 MB / 1.199 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.21, allocations: 107.9 kB / 1.199 GB, free: 3.352 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 291 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004181/1.214, allocations: 0.9384 MB / 1.2 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.216, allocations: 268.6 kB / 1.2 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/1.231, allocations: 5.656 MB / 1.205 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.231, allocations: 28 kB / 1.205 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/1.231, allocations: 7.984 kB / 1.205 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/1.231, allocations: 15.94 kB / 1.205 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/1.238, allocations: 3.695 MB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/1.238, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00424/1.242, allocations: 0.7917 MB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009382/1.243, allocations: 260.3 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005821/1.244, allocations: 83.92 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005036/1.249, allocations: 4.865 MB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.249, allocations: 4.062 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/1.268, allocations: 8.022 MB / 1.223 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.27, allocations: 0.8793 MB / 1.224 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00078/1.271, allocations: 59.98 kB / 1.224 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/1.274, allocations: 447.3 kB / 1.224 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/1.275, allocations: 206 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002766/1.275, allocations: 107.9 kB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002651/1.278, allocations: 1.773 MB / 1.226 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.563e-06/1.278, allocations: 0 / 1.226 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003128/1.281, allocations: 1.028 MB / 1.227 GB, free: 5.676 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002545/1.284, allocations: 1.047 MB / 1.228 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.295, allocations: 4.839 MB / 1.233 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.295, allocations: 4 kB / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.006116/1.301, allocations: 2.769 MB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/1.304, allocations: 0.5649 MB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/1.319, allocations: 9.178 MB / 1.245 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/1.321, allocations: 2.527 MB / 1.247 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.5179/1.839, allocations: 1.134 MB / 1.249 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/1.841, allocations: 275.9 kB / 1.249 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.841, allocations: 0 / 1.249 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08701/1.928, allocations: 43.36 MB / 1.291 GB, free: 254.4 MB / 0.9981 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","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches