Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.005238/0.005238, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.001508/0.001508, allocations: 196.2 kB / 16.68 MB, free: 5.938 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.679/2.679, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 59.11 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1578/0.4233, allocations: 156.8 MB / 1.395 GB, free: 11.49 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02196/0.4453, allocations: 21.75 MB / 1.416 GB, free: 5.672 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.4463, allocations: 51.75 kB / 1.416 GB, free: 5.621 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.4478, allocations: 1.161 MB / 1.417 GB, free: 4.457 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.4489, allocations: 0.8485 MB / 1.418 GB, free: 3.605 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.4498, allocations: 454 kB / 1.419 GB, free: 3.164 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.4509, allocations: 1.259 MB / 1.42 GB, free: 1.902 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.4517, allocations: 0.6872 MB / 1.421 GB, free: 1.211 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.4522, allocations: 0.5452 MB / 1.421 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.4532, allocations: 0.9138 MB / 1.422 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4533, allocations: 64 kB / 1.422 GB, free: 15.69 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.4535, allocations: 120 kB / 1.422 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.4538, allocations: 316.7 kB / 1.422 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.4542, allocations: 492.8 kB / 1.423 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.4553, allocations: 1.202 MB / 1.424 GB, free: 13.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4554, allocations: 3.984 kB / 1.424 GB, free: 13.56 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4554, allocations: 0 / 1.424 GB, free: 13.56 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.4554, allocations: 0 / 1.424 GB, free: 13.56 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002055/0.4574, allocations: 1.521 MB / 1.426 GB, free: 11.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.4575, allocations: 11.97 kB / 1.426 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.542e-05/0.4576, allocations: 86.7 kB / 1.426 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4577, allocations: 140 kB / 1.426 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.4585, allocations: 0.6676 MB / 1.426 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4587, allocations: 74.69 kB / 1.427 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4587, allocations: 48 kB / 1.427 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008715/0.4596, allocations: 0.5223 MB / 1.427 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.4596, allocations: 7.984 kB / 1.427 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.4597, allocations: 16 kB / 1.427 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4597, allocations: 8 kB / 1.427 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.4605, allocations: 419.7 kB / 1.428 GB, free: 9.926 MB / 1.154 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.003252/0.4638, allocations: 2.728 MB / 1.43 GB, free: 6.961 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.4647, allocations: 447.6 kB / 1.431 GB, free: 6.512 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.4653, allocations: 301.3 kB / 1.431 GB, free: 6.215 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.4654, allocations: 4.328 kB / 1.431 GB, free: 6.211 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.4659, allocations: 288 kB / 1.431 GB, free: 5.918 MB / 1.154 GB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.4659, allocations: 0 / 1.431 GB, free: 5.918 MB / 1.154 GB Notification: Performance of matching and sorting (n=44): time 0.002492/0.4684, allocations: 1.148 MB / 1.432 GB, free: 4.719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4684, allocations: 63.39 kB / 1.432 GB, free: 4.645 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.4702, allocations: 1.764 MB / 1.434 GB, free: 2.871 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.4703, allocations: 41.64 kB / 1.434 GB, free: 2.824 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.4707, allocations: 0.533 MB / 1.435 GB, free: 2.285 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4708, allocations: 154.8 kB / 1.435 GB, free: 2.133 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.471, allocations: 94.25 kB / 1.435 GB, free: 2.031 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4711, allocations: 330 kB / 1.435 GB, free: 1.703 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.4716, allocations: 209 kB / 1.435 GB, free: 1.5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.4721, allocations: 339.2 kB / 1.436 GB, free: 1.125 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.473, allocations: 0.5306 MB / 1.436 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.473, allocations: 4 kB / 1.436 GB, free: 0.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001468/0.4745, allocations: 0.8096 MB / 1.437 GB, free: 15.72 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4745, allocations: 9.875 kB / 1.437 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4745, allocations: 4 kB / 1.437 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.4749, allocations: 131 kB / 1.437 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.4753, allocations: 108 kB / 1.437 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.478, allocations: 2.606 MB / 1.44 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.4784, allocations: 83.64 kB / 1.44 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.4784, allocations: 20 kB / 1.44 GB, free: 12.63 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004082/0.4788, allocations: 383.4 kB / 1.44 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.479, allocations: 123.1 kB / 1.44 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.4792, allocations: 135.7 kB / 1.441 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.4792, allocations: 12 kB / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4792, allocations: 0 / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4792, allocations: 3.984 kB / 1.441 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4814, allocations: 1.49 MB / 1.442 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4814, allocations: 0 / 1.442 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.4816, allocations: 47.91 kB / 1.442 GB, free: 10.38 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.482, allocations: 161.6 kB / 1.442 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.482, allocations: 15.98 kB / 1.442 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.4856, allocations: 4.028 MB / 1.446 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4856, allocations: 0 / 1.446 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.4872, allocations: 0.9936 MB / 1.447 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4875, allocations: 212.3 kB / 1.447 GB, free: 4.652 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.4876, allocations: 15.98 kB / 1.447 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.4878, allocations: 31.91 kB / 1.447 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.488, allocations: 59.86 kB / 1.447 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.488, allocations: 12 kB / 1.447 GB, free: 4.535 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001295/0.4893, allocations: 1.289 MB / 1.449 GB, free: 3.242 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4893, allocations: 0 / 1.449 GB, free: 3.242 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005685/0.4899, allocations: 199.7 kB / 1.449 GB, free: 3.047 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003381/0.4933, allocations: 1.915 MB / 1.451 GB, free: 1.285 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.4945, allocations: 0.6722 MB / 1.451 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4945, allocations: 0 / 1.451 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.4953, allocations: 0.529 MB / 1.452 GB, free: 48 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.4962, allocations: 204.6 kB / 1.452 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.507, allocations: 8.547 MB / 1.46 GB, free: 7.074 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.5078, allocations: 1.153 MB / 1.462 GB, free: 5.891 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.5081, allocations: 92.78 kB / 1.462 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.5085, allocations: 407.3 kB / 1.462 GB, free: 5.402 MB / 1.186 GB Notification: Performance of SimCode: time 3.81e-07/0.5085, allocations: 0 / 1.462 GB, free: 5.402 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.867/1.376, allocations: 20.86 MB / 1.482 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.97, allocations: 12.62 kB / 1.482 GB, free: 0.8555 MB / 1.201 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)