Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|thermalZoneTwoElements.TAir|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 184.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 102.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 11.41 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.503/6.795, allocations: 2.473 GB / 3.373 GB, free: 84.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/6.796, allocations: 85.14 kB / 3.373 GB, free: 84.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.327/9.123, allocations: 0.6168 GB / 3.99 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/9.123, allocations: 0 / 3.99 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004154/9.124, allocations: 59.92 kB / 3.99 GB, free: 155.7 MB / 0.8855 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.008587/9.132, allocations: 3.132 MB / 3.993 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/9.132, allocations: 8.031 kB / 3.993 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/9.135, allocations: 467.7 kB / 3.993 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007349/9.142, allocations: 2.698 MB / 3.996 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/9.143, allocations: 136.2 kB / 3.996 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/9.143, allocations: 136 kB / 3.996 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/9.146, allocations: 1.457 MB / 3.997 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/9.146, allocations: 7.938 kB / 3.997 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/9.147, allocations: 52 kB / 3.997 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/9.147, allocations: 50.42 kB / 3.997 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/9.149, allocations: 1.196 MB / 3.999 GB, free: 146.1 MB / 0.8855 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.01077/9.16, allocations: 6.673 MB / 4.005 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/9.162, allocations: 1.176 MB / 4.006 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/9.162, allocations: 292.3 kB / 4.007 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/9.163, allocations: 0.662 MB / 4.007 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=113): time 4.148e-06/9.163, allocations: 0 / 4.007 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=113): time 0.005149/9.169, allocations: 2.341 MB / 4.01 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/9.169, allocations: 72.39 kB / 4.01 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007373/9.176, allocations: 3.573 MB / 4.013 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/9.176, allocations: 53.7 kB / 4.013 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/9.178, allocations: 1.271 MB / 4.014 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/9.178, allocations: 378.8 kB / 4.015 GB, free: 129 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/9.178, allocations: 24 kB / 4.015 GB, free: 129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001063/9.178, allocations: 357.9 kB / 4.015 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009593/9.179, allocations: 498.3 kB / 4.016 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/9.18, allocations: 0.7449 MB / 4.016 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/9.181, allocations: 0.587 MB / 4.017 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/9.181, allocations: 4 kB / 4.017 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003299/9.185, allocations: 1.778 MB / 4.019 GB, free: 125 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/9.185, allocations: 12.06 kB / 4.019 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/9.185, allocations: 8.062 kB / 4.019 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/9.185, allocations: 219.9 kB / 4.019 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/9.186, allocations: 255.6 kB / 4.019 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/9.19, allocations: 4.282 MB / 4.023 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/9.191, allocations: 206.9 kB / 4.023 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/9.192, allocations: 44 kB / 4.024 GB, free: 119.7 MB / 0.8855 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,mean.y,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.002251/9.194, allocations: 0.8137 MB / 4.024 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/9.195, allocations: 288.5 kB / 4.025 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/9.199, allocations: 1.663 MB / 4.026 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/9.199, allocations: 15.94 kB / 4.026 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/9.199, allocations: 4 kB / 4.026 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/9.201, allocations: 1.436 MB / 4.028 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/9.21, allocations: 4.152 MB / 4.032 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/9.21, allocations: 0 / 4.032 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/9.211, allocations: 179.8 kB / 4.032 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/9.211, allocations: 209.7 kB / 4.032 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/9.211, allocations: 31.98 kB / 4.032 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/9.215, allocations: 4.287 MB / 4.036 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/9.215, allocations: 0 / 4.036 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/9.219, allocations: 2.481 MB / 4.039 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/9.221, allocations: 0.6378 MB / 4.039 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006425/9.222, allocations: 36 kB / 4.039 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/9.223, allocations: 115.8 kB / 4.039 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/9.223, allocations: 108.8 kB / 4.04 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/9.223, allocations: 43.92 kB / 4.04 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004701/9.228, allocations: 2.838 MB / 4.042 GB, free: 99.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/9.228, allocations: 0 / 4.042 GB, free: 99.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003073/9.231, allocations: 0.7801 MB / 4.043 GB, free: 99.02 MB / 0.8855 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) * 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 (101): * Single equations (assignments): 87 * 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.003163/9.234, allocations: 1.761 MB / 4.045 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002679/9.237, allocations: 1.526 MB / 4.046 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/9.237, allocations: 0 / 4.046 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/9.239, allocations: 0.9409 MB / 4.047 GB, free: 94.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/9.242, allocations: 0.5435 MB / 4.048 GB, free: 94.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/9.253, allocations: 6.805 MB / 4.054 GB, free: 87.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/9.255, allocations: 1.977 MB / 4.056 GB, free: 85.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001623/9.257, allocations: 438.3 kB / 4.057 GB, free: 85.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/9.258, allocations: 155.3 kB / 4.057 GB, free: 84.92 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/9.258, allocations: 0 / 4.057 GB, free: 84.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.06337/9.321, allocations: 43.81 MB / 4.1 GB, free: 41.27 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches