Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.954/1.954, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001037/0.001037, allocations: 189.3 kB / 487 MB, free: 5.312 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.361/1.361, allocations: 221.3 MB / 0.7819 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 103.3 kB / 0.9213 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.076e-06/8.105e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.241, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/4.76, allocations: 2.194 GB / 3.399 GB, free: 74.26 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/4.761, allocations: 86.97 kB / 3.4 GB, free: 74.22 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.385/7.146, allocations: 0.6444 GB / 4.044 GB, free: 290.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002536/7.146, allocations: 58.7 kB / 4.044 GB, free: 290.3 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006202/7.153, allocations: 2.653 MB / 4.047 GB, free: 288.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/7.153, allocations: 11.22 kB / 4.047 GB, free: 288.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/7.155, allocations: 470.2 kB / 4.047 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007089/7.162, allocations: 2.695 MB / 4.05 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/7.162, allocations: 95.03 kB / 4.05 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/7.162, allocations: 78.14 kB / 4.05 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/7.165, allocations: 1.067 MB / 4.051 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/7.167, allocations: 1.246 MB / 4.052 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/7.167, allocations: 2.172 kB / 4.052 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/7.167, allocations: 2.688 kB / 4.052 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.557e-05/7.167, allocations: 50.64 kB / 4.052 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/7.177, allocations: 6.576 MB / 4.059 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/7.178, allocations: 0.6505 MB / 4.059 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008941/7.179, allocations: 0.5925 MB / 4.06 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004158/7.179, allocations: 302.2 kB / 4.06 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/7.18, allocations: 0.5743 MB / 4.061 GB, free: 281.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.106e-06/7.18, allocations: 0 / 4.061 GB, free: 281.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.003521/7.184, allocations: 1.397 MB / 4.062 GB, free: 281 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/7.184, allocations: 69.73 kB / 4.062 GB, free: 280.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006506/7.19, allocations: 3.366 MB / 4.065 GB, free: 279.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/7.191, allocations: 39.56 kB / 4.065 GB, free: 279.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/7.191, allocations: 0.6514 MB / 4.066 GB, free: 279.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/7.192, allocations: 361.6 kB / 4.066 GB, free: 279.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/7.192, allocations: 0 / 4.066 GB, free: 279.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001063/7.192, allocations: 352.4 kB / 4.067 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/7.193, allocations: 425.4 kB / 4.067 GB, free: 278.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/7.193, allocations: 0.6801 MB / 4.068 GB, free: 278.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/7.195, allocations: 0.5498 MB / 4.068 GB, free: 277.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/7.195, allocations: 1.906 kB / 4.068 GB, free: 277.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003573/7.198, allocations: 1.577 MB / 4.07 GB, free: 277.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/7.198, allocations: 5.031 kB / 4.07 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/7.198, allocations: 6.469 kB / 4.07 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007332/7.199, allocations: 220.5 kB / 4.07 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/7.2, allocations: 252.3 kB / 4.07 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/7.205, allocations: 3.97 MB / 4.074 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/7.207, allocations: 182.6 kB / 4.074 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/7.207, allocations: 52.27 kB / 4.074 GB, free: 274 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.0002915/7.208, allocations: 156 kB / 4.074 GB, free: 273.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/7.208, allocations: 266.9 kB / 4.075 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/7.211, allocations: 1.515 MB / 4.076 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/7.212, allocations: 11.75 kB / 4.076 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/7.212, allocations: 4.406 kB / 4.076 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/7.213, allocations: 1.302 MB / 4.078 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/7.221, allocations: 3.838 MB / 4.081 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/7.221, allocations: 1.438 kB / 4.081 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/7.222, allocations: 179.2 kB / 4.081 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/7.222, allocations: 206.7 kB / 4.082 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/7.222, allocations: 17.56 kB / 4.082 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/7.226, allocations: 3.98 MB / 4.086 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/7.226, allocations: 1.406 kB / 4.086 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004199/7.23, allocations: 2.251 MB / 4.088 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/7.232, allocations: 0.6302 MB / 4.088 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/7.232, allocations: 11.89 kB / 4.088 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/7.233, allocations: 94.23 kB / 4.088 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/7.234, allocations: 90.75 kB / 4.089 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/7.234, allocations: 39.05 kB / 4.089 GB, free: 266.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004118/7.238, allocations: 2.636 MB / 4.091 GB, free: 265.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002637/7.24, allocations: 0.7143 MB / 4.092 GB, free: 265.3 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 (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.002595/7.243, allocations: 1.796 MB / 4.094 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002286/7.245, allocations: 1.319 MB / 4.095 GB, free: 264.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/7.245, allocations: 3.594 kB / 4.095 GB, free: 264.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/7.247, allocations: 0.8103 MB / 4.096 GB, free: 263.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/7.249, allocations: 0.5002 MB / 4.096 GB, free: 263.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008164/7.257, allocations: 4.984 MB / 4.101 GB, free: 259.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/7.259, allocations: 2.114 MB / 4.103 GB, free: 257.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/7.259, allocations: 0 / 4.103 GB, free: 257.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05104/7.31, allocations: 34.44 MB / 4.137 GB, free: 224.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches