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.445/2.445, allocations: 390.5 MB / 398 MB, free: 10.92 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.001157/0.001158, allocations: 180.8 kB / 491.2 MB, free: 1.582 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.802/1.802, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001017/0.001017, allocations: 95.52 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.516e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3417, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.819/6.161, allocations: 2.195 GB / 3.407 GB, free: 82.25 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/6.161, allocations: 83.48 kB / 3.408 GB, free: 82.21 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.921/9.082, allocations: 0.638 GB / 4.046 GB, free: 284.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/9.082, allocations: 0 / 4.046 GB, free: 284.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004706/9.083, allocations: 66.67 kB / 4.046 GB, free: 284.4 MB / 1.151 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.008026/9.091, allocations: 2.644 MB / 4.048 GB, free: 283.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/9.091, allocations: 11.66 kB / 4.048 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/9.094, allocations: 467.6 kB / 4.049 GB, free: 283 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007971/9.102, allocations: 2.678 MB / 4.051 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/9.102, allocations: 102.9 kB / 4.051 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005431/9.102, allocations: 78.09 kB / 4.051 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002794/9.105, allocations: 1.045 MB / 4.052 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/9.108, allocations: 1.224 MB / 4.054 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.826e-05/9.108, allocations: 7.844 kB / 4.054 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/9.109, allocations: 0 / 4.054 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/9.109, allocations: 47.62 kB / 4.054 GB, free: 282.3 MB / 1.151 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.01136/9.12, allocations: 6.428 MB / 4.06 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/9.122, allocations: 1.051 MB / 4.061 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/9.123, allocations: 0.5674 MB / 4.062 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/9.123, allocations: 304.6 kB / 4.062 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009012/9.124, allocations: 0.5696 MB / 4.062 GB, free: 279 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 4.408e-06/9.124, allocations: 2.406 kB / 4.062 GB, free: 279 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.003252/9.127, allocations: 1.401 MB / 4.064 GB, free: 278.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/9.127, allocations: 69.78 kB / 4.064 GB, free: 278.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007626/9.135, allocations: 3.376 MB / 4.067 GB, free: 277.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/9.135, allocations: 36.02 kB / 4.067 GB, free: 277.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/9.137, allocations: 1.32 MB / 4.068 GB, free: 276.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/9.137, allocations: 350.8 kB / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/9.137, allocations: 0 / 4.069 GB, free: 275.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001376/9.137, allocations: 352.5 kB / 4.069 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/9.138, allocations: 410.8 kB / 4.07 GB, free: 275.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/9.139, allocations: 0.6498 MB / 4.07 GB, free: 275 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/9.14, allocations: 0.5304 MB / 4.071 GB, free: 274.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/9.14, allocations: 3.438 kB / 4.071 GB, free: 274.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003293/9.143, allocations: 1.549 MB / 4.072 GB, free: 274.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/9.143, allocations: 11.45 kB / 4.072 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/9.143, allocations: 7.781 kB / 4.072 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/9.144, allocations: 214.3 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/9.145, allocations: 250.9 kB / 4.073 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/9.149, allocations: 4.043 MB / 4.077 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/9.151, allocations: 186.3 kB / 4.077 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/9.151, allocations: 53.06 kB / 4.077 GB, free: 270.8 MB / 1.151 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.0003131/9.151, allocations: 150.4 kB / 4.077 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009238/9.152, allocations: 286.1 kB / 4.077 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/9.155, allocations: 1.511 MB / 4.079 GB, free: 270 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/9.155, allocations: 17.03 kB / 4.079 GB, free: 270 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/9.155, allocations: 3.875 kB / 4.079 GB, free: 270 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002021/9.158, allocations: 1.302 MB / 4.08 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/9.167, allocations: 3.824 MB / 4.084 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/9.167, allocations: 3.781 kB / 4.084 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/9.168, allocations: 175 kB / 4.084 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/9.168, allocations: 207.1 kB / 4.084 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/9.168, allocations: 15.11 kB / 4.084 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003616/9.172, allocations: 4.027 MB / 4.088 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/9.172, allocations: 2.094 kB / 4.088 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/9.176, allocations: 2.241 MB / 4.09 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/9.178, allocations: 0.6285 MB / 4.091 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009788/9.179, allocations: 28.61 kB / 4.091 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/9.181, allocations: 95.12 kB / 4.091 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/9.181, allocations: 106.7 kB / 4.091 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/9.181, allocations: 41.69 kB / 4.091 GB, free: 263.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005523/9.187, allocations: 2.634 MB / 4.094 GB, free: 262.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.61e-07/9.187, allocations: 0 / 4.094 GB, free: 262.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003215/9.19, allocations: 0.7161 MB / 4.094 GB, free: 261.9 MB / 1.151 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) * 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.003503/9.193, allocations: 1.842 MB / 4.096 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002336/9.196, allocations: 1.319 MB / 4.098 GB, free: 260.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/9.196, allocations: 2.469 kB / 4.098 GB, free: 260.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/9.197, allocations: 0.837 MB / 4.098 GB, free: 260.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/9.2, allocations: 0.5163 MB / 4.099 GB, free: 260.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/9.21, allocations: 4.964 MB / 4.104 GB, free: 258.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/9.213, allocations: 1.986 MB / 4.106 GB, free: 257.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001782/9.215, allocations: 425 kB / 4.106 GB, free: 257.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/9.215, allocations: 160 kB / 4.106 GB, free: 257.8 MB / 1.151 GB Notification: Performance of SimCode: time 3.046e-06/9.215, allocations: 0 / 4.106 GB, free: 257.8 MB / 1.151 GB Notification: Performance of Templates: time 0.05913/9.275, allocations: 33.02 MB / 4.138 GB, free: 231 MB / 1.151 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