Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_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.001265/0.001265, allocations: 108 kB / 15.61 MB, free: 152 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.001267/0.001267, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.33 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2712, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1551/0.4263, allocations: 157.9 MB / 1.207 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.4491, allocations: 22.13 MB / 1.229 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.4507, allocations: 63.62 kB / 1.229 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.4524, allocations: 1.379 MB / 1.23 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.4538, allocations: 1.008 MB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4551, allocations: 0.6496 MB / 1.232 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.4565, allocations: 1.684 MB / 1.233 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.4574, allocations: 0.9628 MB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.4581, allocations: 0.7359 MB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.4593, allocations: 1.191 MB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.4594, allocations: 88 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.4597, allocations: 147.9 kB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.46, allocations: 412.4 kB / 1.237 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004995/0.4605, allocations: 0.6558 MB / 1.237 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.4618, allocations: 1.565 MB / 1.239 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4618, allocations: 0 / 1.239 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4618, allocations: 4 kB / 1.239 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4618, allocations: 0 / 1.239 GB, free: 9.023 MB / 0.9981 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.002644/0.4645, allocations: 1.911 MB / 1.241 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4645, allocations: 12.62 kB / 1.241 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.4646, allocations: 110.6 kB / 1.241 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.4649, allocations: 182.7 kB / 1.241 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.466, allocations: 0.8824 MB / 1.242 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.4661, allocations: 87 kB / 1.242 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.4662, allocations: 67.98 kB / 1.242 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.4674, allocations: 0.7214 MB / 1.243 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4674, allocations: 4 kB / 1.243 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.4675, allocations: 24 kB / 1.243 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4675, allocations: 16 kB / 1.243 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4686, allocations: 0.5438 MB / 1.243 GB, free: 4.32 MB / 0.9981 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.00411/0.4728, allocations: 3.632 MB / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4631/0.9359, allocations: 0.6057 MB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/0.9367, allocations: 372.6 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.9368, allocations: 12.42 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/0.9375, allocations: 379.6 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 4.098e-06/0.9375, allocations: 0 / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.004838/0.9424, allocations: 1.776 MB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.9424, allocations: 63.98 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.9444, allocations: 2.247 MB / 1.252 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.9444, allocations: 42.2 kB / 1.252 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.9448, allocations: 0.729 MB / 1.253 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.945, allocations: 211.4 kB / 1.253 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.9451, allocations: 128.3 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.9452, allocations: 338.3 kB / 1.254 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.9457, allocations: 274.3 kB / 1.254 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.9463, allocations: 420.4 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.9474, allocations: 0.6674 MB / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9474, allocations: 0 / 1.255 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002046/0.9494, allocations: 1.114 MB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9494, allocations: 7.062 kB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.9495, allocations: 5.312 kB / 1.256 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.9502, allocations: 281.8 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.9506, allocations: 118.8 kB / 1.256 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.9552, allocations: 3.697 MB / 1.26 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.9558, allocations: 93.14 kB / 1.26 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.9559, allocations: 35.03 kB / 1.26 GB, free: 193 MB / 0.9981 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.0007142/0.9566, allocations: 456.6 kB / 1.261 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.9568, allocations: 160.8 kB / 1.261 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.957, allocations: 184.6 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9571, allocations: 8.562 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.9571, allocations: 0.6094 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.9571, allocations: 2.672 kB / 1.261 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.9607, allocations: 2.043 MB / 1.263 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9608, allocations: 1.312 kB / 1.263 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.9611, allocations: 60.66 kB / 1.263 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/0.9619, allocations: 289.2 kB / 1.263 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.962, allocations: 15.95 kB / 1.263 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/0.9678, allocations: 5.238 MB / 1.268 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9679, allocations: 4.531 kB / 1.268 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.9711, allocations: 1.392 MB / 1.27 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.9715, allocations: 261.4 kB / 1.27 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.9717, allocations: 27.19 kB / 1.27 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.9722, allocations: 38.42 kB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.9724, allocations: 67.59 kB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.9725, allocations: 22.7 kB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002743/0.9752, allocations: 1.63 MB / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9752, allocations: 0.5625 kB / 1.272 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001079/0.9763, allocations: 272 kB / 1.272 GB, free: 188.1 MB / 0.9981 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.003827/0.9801, allocations: 2.335 MB / 1.274 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.9824, allocations: 0.9589 MB / 1.275 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9825, allocations: 0 / 1.275 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.9836, allocations: 0.6816 MB / 1.276 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.9851, allocations: 285 kB / 1.276 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.004, allocations: 12.02 MB / 1.288 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.005, allocations: 1.323 MB / 1.289 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005252/1.006, allocations: 115.4 kB / 1.289 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/1.006, allocations: 0.5388 MB / 1.29 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.006, allocations: 0 / 1.29 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6436/1.65, allocations: 28.7 MB / 1.318 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.73, allocations: 16.19 kB / 1.318 GB, free: 153.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)