Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.546/2.546, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001471, allocations: 186.8 kB / 0.4902 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.765/1.765, allocations: 223.2 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 94.39 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003969, allocations: 12.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.352/6.7, allocations: 2.196 GB / 3.425 GB, free: 256 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/6.7, allocations: 92.52 kB / 3.425 GB, free: 255.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/9.058, allocations: 0.6455 GB / 4.071 GB, free: 48.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.505e-06/9.058, allocations: 0 / 4.071 GB, free: 48.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007061/9.059, allocations: 64.06 kB / 4.071 GB, free: 48.24 MB / 1.167 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.01351/9.072, allocations: 3.152 MB / 4.074 GB, free: 45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/9.072, allocations: 12.77 kB / 4.074 GB, free: 44.99 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/9.076, allocations: 459.7 kB / 4.074 GB, free: 44.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/9.086, allocations: 2.738 MB / 4.077 GB, free: 41.74 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/9.087, allocations: 144.4 kB / 4.077 GB, free: 41.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009483/9.088, allocations: 128 kB / 4.077 GB, free: 41.46 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/9.092, allocations: 1.457 MB / 4.079 GB, free: 39.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/9.092, allocations: 3.938 kB / 4.079 GB, free: 39.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/9.092, allocations: 52 kB / 4.079 GB, free: 39.91 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/9.092, allocations: 42.44 kB / 4.079 GB, free: 39.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/9.094, allocations: 1.2 MB / 4.08 GB, free: 38.66 MB / 1.167 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.01367/9.108, allocations: 6.693 MB / 4.086 GB, free: 31.55 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/9.111, allocations: 1.19 MB / 4.088 GB, free: 30.33 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/9.111, allocations: 296.3 kB / 4.088 GB, free: 29.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/9.112, allocations: 0.6463 MB / 4.088 GB, free: 29.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=112): time 5.46e-06/9.112, allocations: 3.938 kB / 4.088 GB, free: 29.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.005581/9.118, allocations: 2.345 MB / 4.091 GB, free: 26.93 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/9.118, allocations: 68.36 kB / 4.091 GB, free: 26.85 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008779/9.127, allocations: 3.606 MB / 4.094 GB, free: 23.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000375/9.127, allocations: 49.7 kB / 4.094 GB, free: 23.18 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/9.129, allocations: 1.295 MB / 4.096 GB, free: 21.88 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006536/9.13, allocations: 370.8 kB / 4.096 GB, free: 21.51 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/9.13, allocations: 24 kB / 4.096 GB, free: 21.49 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001612/9.13, allocations: 353.9 kB / 4.096 GB, free: 21.14 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/9.131, allocations: 498.3 kB / 4.097 GB, free: 20.65 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/9.132, allocations: 0.7654 MB / 4.098 GB, free: 19.78 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/9.134, allocations: 0.5847 MB / 4.098 GB, free: 19.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/9.134, allocations: 4 kB / 4.098 GB, free: 19.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003953/9.138, allocations: 1.777 MB / 4.1 GB, free: 17.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/9.138, allocations: 8 kB / 4.1 GB, free: 17.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/9.138, allocations: 4.219 kB / 4.1 GB, free: 17.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006851/9.138, allocations: 234.8 kB / 4.1 GB, free: 17.15 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/9.139, allocations: 255.6 kB / 4.1 GB, free: 16.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/9.143, allocations: 4.281 MB / 4.105 GB, free: 12.35 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/9.146, allocations: 222.8 kB / 4.105 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/9.146, allocations: 48 kB / 4.105 GB, free: 12.08 MB / 1.167 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 () * Number of clocked 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.002145/9.148, allocations: 0.8189 MB / 4.106 GB, free: 11.26 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/9.149, allocations: 284.5 kB / 4.106 GB, free: 10.98 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/9.153, allocations: 1.66 MB / 4.108 GB, free: 9.297 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/9.153, allocations: 12 kB / 4.108 GB, free: 9.285 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/9.153, allocations: 7.953 kB / 4.108 GB, free: 9.277 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002148/9.155, allocations: 1.432 MB / 4.109 GB, free: 7.793 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/9.166, allocations: 4.145 MB / 4.113 GB, free: 3.559 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/9.166, allocations: 3.938 kB / 4.113 GB, free: 3.555 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/9.167, allocations: 171.8 kB / 4.113 GB, free: 3.387 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006548/9.168, allocations: 218.6 kB / 4.113 GB, free: 3.168 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/9.168, allocations: 31.98 kB / 4.113 GB, free: 3.137 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9515/10.12, allocations: 4.265 MB / 4.118 GB, free: 265.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/10.12, allocations: 2.438 kB / 4.118 GB, free: 265.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/10.12, allocations: 2.44 MB / 4.12 GB, free: 265.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/10.13, allocations: 0.6362 MB / 4.121 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/10.13, allocations: 41.56 kB / 4.121 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/10.13, allocations: 115.2 kB / 4.121 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/10.13, allocations: 109.9 kB / 4.121 GB, free: 264.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/10.13, allocations: 39.66 kB / 4.121 GB, free: 264.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00623/10.13, allocations: 2.855 MB / 4.124 GB, free: 264.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/10.13, allocations: 0 / 4.124 GB, free: 264.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004334/10.14, allocations: 0.7785 MB / 4.124 GB, free: 264.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,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) * Number of clocked states: 0 () * 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.003998/10.14, allocations: 1.755 MB / 4.126 GB, free: 264.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003622/10.15, allocations: 1.511 MB / 4.128 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/10.15, allocations: 4.844 kB / 4.128 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/10.15, allocations: 0.9329 MB / 4.129 GB, free: 263.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/10.15, allocations: 0.5408 MB / 4.129 GB, free: 263.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/10.17, allocations: 6.822 MB / 4.136 GB, free: 261.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005521/10.18, allocations: 1.982 MB / 4.138 GB, free: 260.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002897/10.18, allocations: 434.8 kB / 4.138 GB, free: 260.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/10.18, allocations: 160.7 kB / 4.138 GB, free: 260.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.285e-06/10.18, allocations: 0 / 4.138 GB, free: 260.9 MB / 1.167 GB Notification: Performance of Templates: time 0.09799/10.28, allocations: 43.92 MB / 4.181 GB, free: 260.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches