Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") [: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 10.0.0-master/package.mo): time 1.965/1.965, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001085/0.001085, allocations: 183.6 kB / 490.8 MB, free: 1.961 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.417/1.417, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001038/0.001038, allocations: 94.55 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.6e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/4.617, allocations: 2.191 GB / 3.403 GB, free: 118.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/4.617, allocations: 95.94 kB / 3.403 GB, free: 118.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1757/4.793, allocations: 83.22 MB / 3.484 GB, free: 34.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004602/4.793, allocations: 51.98 kB / 3.484 GB, free: 34.93 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00628/4.8, allocations: 2.525 MB / 3.487 GB, free: 32.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/4.8, allocations: 8.031 kB / 3.487 GB, free: 32.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/4.801, allocations: 339.7 kB / 3.487 GB, free: 32 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/4.809, allocations: 2.577 MB / 3.49 GB, free: 29.37 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/4.809, allocations: 91.67 kB / 3.49 GB, free: 29.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/4.809, allocations: 52 kB / 3.49 GB, free: 29.22 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/4.811, allocations: 0.7457 MB / 3.49 GB, free: 28.48 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/4.813, allocations: 0.8367 MB / 3.491 GB, free: 27.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/4.813, allocations: 3.906 kB / 3.491 GB, free: 27.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/4.813, allocations: 4 kB / 3.491 GB, free: 27.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/4.813, allocations: 24 kB / 3.491 GB, free: 27.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008522/4.822, allocations: 4.58 MB / 3.496 GB, free: 22.76 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/4.823, allocations: 0.5855 MB / 3.496 GB, free: 22.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/4.823, allocations: 0.5048 MB / 3.497 GB, free: 21.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/4.823, allocations: 16.78 kB / 3.497 GB, free: 21.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007648/4.824, allocations: 0.5067 MB / 3.497 GB, free: 21.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.919e-06/4.824, allocations: 0 / 3.497 GB, free: 21.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.003051/4.827, allocations: 1.38 MB / 3.499 GB, free: 19.73 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/4.827, allocations: 64.41 kB / 3.499 GB, free: 19.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009113/4.837, allocations: 4.309 MB / 3.503 GB, free: 15.35 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/4.837, allocations: 37.69 kB / 3.503 GB, free: 15.31 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/4.838, allocations: 0.5753 MB / 3.504 GB, free: 14.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/4.838, allocations: 327.3 kB / 3.504 GB, free: 14.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/4.838, allocations: 0 / 3.504 GB, free: 14.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001119/4.838, allocations: 349.9 kB / 3.504 GB, free: 14.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/4.839, allocations: 362.5 kB / 3.505 GB, free: 13.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/4.84, allocations: 0.5224 MB / 3.505 GB, free: 13.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/4.84, allocations: 431.4 kB / 3.506 GB, free: 12.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/4.84, allocations: 4 kB / 3.506 GB, free: 12.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00301/4.843, allocations: 1.497 MB / 3.507 GB, free: 11.19 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/4.843, allocations: 10.91 kB / 3.507 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/4.843, allocations: 4 kB / 3.507 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009007/4.844, allocations: 333.2 kB / 3.507 GB, free: 10.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/4.845, allocations: 191.8 kB / 3.507 GB, free: 10.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/4.849, allocations: 4.688 MB / 3.512 GB, free: 5.746 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/4.851, allocations: 123.3 kB / 3.512 GB, free: 5.625 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/4.851, allocations: 39.98 kB / 3.512 GB, free: 5.586 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002463/4.851, allocations: 138 kB / 3.512 GB, free: 5.445 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008794/4.852, allocations: 308 kB / 3.513 GB, free: 5.141 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/4.856, allocations: 1.567 MB / 3.514 GB, free: 3.551 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/4.856, allocations: 12 kB / 3.514 GB, free: 3.539 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/4.856, allocations: 4 kB / 3.514 GB, free: 3.535 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/4.856, allocations: 3.984 kB / 3.514 GB, free: 3.531 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5278/5.383, allocations: 3.842 MB / 3.518 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/5.383, allocations: 3.656 kB / 3.518 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/5.384, allocations: 123.1 kB / 3.518 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008208/5.385, allocations: 325.5 kB / 3.518 GB, free: 0.4922 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/5.385, allocations: 18.39 kB / 3.518 GB, free: 0.4922 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/5.39, allocations: 4.67 MB / 3.523 GB, free: 0.4899 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/5.39, allocations: 3.719 kB / 3.523 GB, free: 0.4899 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003564/5.393, allocations: 2.129 MB / 3.525 GB, free: 0.4896 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/5.395, allocations: 0.702 MB / 3.526 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/5.395, allocations: 9.438 kB / 3.526 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/5.396, allocations: 70.67 kB / 3.526 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/5.396, allocations: 83.69 kB / 3.526 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/5.396, allocations: 38.33 kB / 3.526 GB, free: 0.4893 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.004457/5.4, allocations: 3.401 MB / 3.529 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001893/5.402, allocations: 0.5621 MB / 3.53 GB, free: 0.4892 GB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 26 ($whenCondition9,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/5.404, allocations: 0.9465 MB / 3.531 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001893/5.406, allocations: 1.214 MB / 3.532 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.406, allocations: 0 / 3.532 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/5.407, allocations: 0.7773 MB / 3.533 GB, free: 0.4886 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/5.409, allocations: 306.3 kB / 3.533 GB, free: 0.4886 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/5.418, allocations: 5.329 MB / 3.538 GB, free: 499.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/5.42, allocations: 2.148 MB / 3.54 GB, free: 498.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/5.42, allocations: 0 / 3.54 GB, free: 498.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04658/5.467, allocations: 26.22 MB / 3.566 GB, free: 497.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches