Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.289/2.289, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5488, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1551/0.7039, allocations: 157.9 MB / 1.104 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.7281, allocations: 22.13 MB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.73, allocations: 59.69 kB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.7318, allocations: 1.383 MB / 1.127 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.7336, allocations: 1.016 MB / 1.128 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.7351, allocations: 0.6476 MB / 1.129 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.7368, allocations: 1.692 MB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009928/0.7378, allocations: 0.9589 MB / 1.131 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.7386, allocations: 0.732 MB / 1.132 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.7397, allocations: 1.195 MB / 1.133 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.7399, allocations: 88 kB / 1.133 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.7401, allocations: 140 kB / 1.133 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.7405, allocations: 420.3 kB / 1.134 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.741, allocations: 0.6481 MB / 1.134 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.7423, allocations: 1.576 MB / 1.136 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.7423, allocations: 3.984 kB / 1.136 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7423, allocations: 0 / 1.136 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.7423, allocations: 4 kB / 1.136 GB, free: 2.551 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002686/0.745, allocations: 1.915 MB / 1.138 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.745, allocations: 8.031 kB / 1.138 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.7452, allocations: 106.7 kB / 1.138 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.7454, allocations: 186.7 kB / 1.138 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.7465, allocations: 0.867 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7467, allocations: 91 kB / 1.139 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.7468, allocations: 64 kB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.748, allocations: 0.7176 MB / 1.14 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.7481, allocations: 11.89 kB / 1.14 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.136e-05/0.7481, allocations: 27.98 kB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.7481, allocations: 19.94 kB / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.7493, allocations: 0.5438 MB / 1.14 GB, free: 13.85 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.004241/0.7535, allocations: 3.621 MB / 1.144 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.7549, allocations: 0.6159 MB / 1.144 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/0.7556, allocations: 378.3 kB / 1.145 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.7557, allocations: 12.55 kB / 1.145 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.7564, allocations: 379 kB / 1.145 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 2.224e-06/0.7564, allocations: 0 / 1.145 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.004846/0.7612, allocations: 1.78 MB / 1.147 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.7613, allocations: 63.91 kB / 1.147 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.7635, allocations: 2.255 MB / 1.149 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.7635, allocations: 41.7 kB / 1.149 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/0.7641, allocations: 0.7187 MB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.7642, allocations: 213 kB / 1.15 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.7644, allocations: 122.7 kB / 1.15 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7645, allocations: 334 kB / 1.15 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.7651, allocations: 281.8 kB / 1.151 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.7659, allocations: 425.8 kB / 1.151 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.7671, allocations: 0.6694 MB / 1.152 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7671, allocations: 4 kB / 1.152 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002204/0.7693, allocations: 1.11 MB / 1.153 GB, free: 372 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7693, allocations: 4 kB / 1.153 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7693, allocations: 4 kB / 1.153 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/0.7701, allocations: 290.8 kB / 1.153 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.7706, allocations: 119.8 kB / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.7756, allocations: 3.688 MB / 1.157 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.7761, allocations: 87.39 kB / 1.157 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.7761, allocations: 28 kB / 1.157 GB, free: 12.02 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.7767, allocations: 467.8 kB / 1.157 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.7768, allocations: 157.9 kB / 1.158 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.7771, allocations: 187.7 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7771, allocations: 4 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7771, allocations: 3.938 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.7771, allocations: 3.984 kB / 1.158 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.7803, allocations: 2.041 MB / 1.16 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7803, allocations: 0 / 1.16 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.7806, allocations: 55.95 kB / 1.16 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007381/0.7814, allocations: 283 kB / 1.16 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.7814, allocations: 23.92 kB / 1.16 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.7871, allocations: 5.244 MB / 1.165 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7872, allocations: 0 / 1.165 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.7897, allocations: 1.4 MB / 1.167 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.79, allocations: 263 kB / 1.167 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7901, allocations: 19.98 kB / 1.167 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.7905, allocations: 36.11 kB / 1.167 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.7907, allocations: 72.45 kB / 1.167 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.7908, allocations: 19.98 kB / 1.167 GB, free: 1.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001577/0.7923, allocations: 1.631 MB / 1.169 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7923, allocations: 0 / 1.169 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007787/0.7931, allocations: 276.1 kB / 1.169 GB, free: 15.47 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003733/0.7969, allocations: 2.333 MB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.7989, allocations: 0.9502 MB / 1.172 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7989, allocations: 3.938 kB / 1.172 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.8, allocations: 0.6789 MB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.8012, allocations: 283.6 kB / 1.173 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.8166, allocations: 12.02 MB / 1.185 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.8175, allocations: 1.326 MB / 1.186 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003823/0.8179, allocations: 118.4 kB / 1.186 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.8185, allocations: 0.55 MB / 1.187 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.8185, allocations: 3.938 kB / 1.187 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/0.8696, allocations: 28.68 MB / 1.215 GB, free: 316 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.46, allocations: 14.41 kB / 1.215 GB, free: 304 kB / 0.9669 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)