Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8065/0.8065, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 184.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 98.78 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001762, allocations: 276 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.626e-05, allocations: 0 / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4894, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.532, allocations: 2.155 GB / 2.919 GB, free: 114.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/5.532, allocations: 93.95 kB / 2.919 GB, free: 114.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/7.864, allocations: 0.6392 GB / 3.559 GB, free: 9.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/7.864, allocations: 3.938 kB / 3.559 GB, free: 9.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000238/7.865, allocations: 56.12 kB / 3.559 GB, free: 9.543 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006524/7.871, allocations: 2.631 MB / 3.561 GB, free: 6.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/7.871, allocations: 12.03 kB / 3.561 GB, free: 6.824 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/7.873, allocations: 463.7 kB / 3.562 GB, free: 6.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/7.88, allocations: 2.675 MB / 3.564 GB, free: 3.629 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/7.881, allocations: 148.3 kB / 3.565 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/7.881, allocations: 132 kB / 3.565 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/7.883, allocations: 1.399 MB / 3.566 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/7.883, allocations: 0 / 3.566 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/7.884, allocations: 55.98 kB / 3.566 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/7.884, allocations: 42.44 kB / 3.566 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/7.885, allocations: 1.115 MB / 3.567 GB, free: 0.6836 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.6901/8.575, allocations: 6.657 MB / 3.574 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/8.578, allocations: 1.079 MB / 3.575 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/8.58, allocations: 0.5964 MB / 3.575 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/8.58, allocations: 299.5 kB / 3.576 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/8.581, allocations: 0.6114 MB / 3.576 GB, free: 122.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=112): time 5.611e-06/8.581, allocations: 3.125 kB / 3.576 GB, free: 122.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.003867/8.585, allocations: 1.431 MB / 3.578 GB, free: 122.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/8.585, allocations: 64.91 kB / 3.578 GB, free: 122.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006866/8.592, allocations: 3.555 MB / 3.581 GB, free: 122.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002568/8.592, allocations: 57.33 kB / 3.581 GB, free: 122.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/8.594, allocations: 1.296 MB / 3.582 GB, free: 121.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/8.594, allocations: 372.7 kB / 3.583 GB, free: 121.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/8.594, allocations: 26.38 kB / 3.583 GB, free: 121.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/8.594, allocations: 352.4 kB / 3.583 GB, free: 121.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/8.595, allocations: 429 kB / 3.584 GB, free: 121.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/8.596, allocations: 0.6906 MB / 3.584 GB, free: 121.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/8.597, allocations: 0.5269 MB / 3.585 GB, free: 121.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/8.597, allocations: 3.656 kB / 3.585 GB, free: 121.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002994/8.6, allocations: 1.631 MB / 3.586 GB, free: 120.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/8.6, allocations: 8.156 kB / 3.586 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/8.6, allocations: 6.375 kB / 3.586 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/8.6, allocations: 221 kB / 3.587 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/8.601, allocations: 248.8 kB / 3.587 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/8.606, allocations: 4.202 MB / 3.591 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/8.608, allocations: 205.7 kB / 3.591 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/8.608, allocations: 46.12 kB / 3.591 GB, free: 118.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003681/8.609, allocations: 204.5 kB / 3.591 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/8.609, allocations: 290.7 kB / 3.592 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/8.612, allocations: 1.57 MB / 3.593 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/8.612, allocations: 13.12 kB / 3.593 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/8.612, allocations: 8.844 kB / 3.593 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001981/8.614, allocations: 1.33 MB / 3.595 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007208/8.622, allocations: 4.043 MB / 3.598 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/8.622, allocations: 0 / 3.598 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/8.622, allocations: 172.2 kB / 3.599 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/8.623, allocations: 206.1 kB / 3.599 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/8.623, allocations: 38.3 kB / 3.599 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/8.626, allocations: 4.164 MB / 3.603 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/8.626, allocations: 7.531 kB / 3.603 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/8.63, allocations: 2.341 MB / 3.605 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/8.632, allocations: 0.6264 MB / 3.606 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/8.632, allocations: 45.53 kB / 3.606 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/8.633, allocations: 122.1 kB / 3.606 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/8.633, allocations: 106 kB / 3.606 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/8.633, allocations: 40.31 kB / 3.606 GB, free: 113.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003877/8.637, allocations: 2.822 MB / 3.609 GB, free: 113.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/8.637, allocations: 2.531 kB / 3.609 GB, free: 113.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00268/8.64, allocations: 0.7791 MB / 3.61 GB, free: 113.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003016/8.643, allocations: 1.718 MB / 3.611 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002426/8.645, allocations: 1.402 MB / 3.613 GB, free: 112.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/8.645, allocations: 0 / 3.613 GB, free: 112.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/8.647, allocations: 0.8781 MB / 3.614 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/8.65, allocations: 0.5523 MB / 3.614 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/8.659, allocations: 5.018 MB / 3.619 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/8.661, allocations: 1.974 MB / 3.621 GB, free: 110.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001666/8.662, allocations: 439.4 kB / 3.621 GB, free: 110.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/8.663, allocations: 155.8 kB / 3.622 GB, free: 110.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/8.663, allocations: 0 / 3.622 GB, free: 110.7 MB / 0.698 GB Notification: Performance of Templates: time 0.07987/8.743, allocations: 47.41 MB / 3.668 GB, free: 109.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)