Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.915/1.915, 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.001007/0.001007, allocations: 184.3 kB / 487 MB, free: 5.375 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.293/1.293, allocations: 221.3 MB / 0.7819 GB, free: 1.496 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.0009849/0.000985, allocations: 98.44 kB / 0.9213 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/7.023e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2805, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.688/4.969, allocations: 2.191 GB / 3.396 GB, free: 104.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/4.969, allocations: 99.94 kB / 3.396 GB, free: 104.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1645/5.134, allocations: 83.15 MB / 3.477 GB, free: 20.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001994/5.134, allocations: 59.92 kB / 3.477 GB, free: 20.54 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.003752/5.138, allocations: 2.521 MB / 3.48 GB, free: 17.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/5.138, allocations: 8.031 kB / 3.48 GB, free: 17.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/5.138, allocations: 343.7 kB / 3.48 GB, free: 17.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/5.143, allocations: 2.581 MB / 3.482 GB, free: 14.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/5.144, allocations: 83.69 kB / 3.482 GB, free: 14.89 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/5.144, allocations: 59.98 kB / 3.483 GB, free: 14.83 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/5.145, allocations: 0.7341 MB / 3.483 GB, free: 14.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/5.146, allocations: 0.8367 MB / 3.484 GB, free: 13.25 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/5.146, allocations: 7.844 kB / 3.484 GB, free: 13.24 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/5.146, allocations: 7.984 kB / 3.484 GB, free: 13.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/5.146, allocations: 20 kB / 3.484 GB, free: 13.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/5.152, allocations: 4.588 MB / 3.489 GB, free: 8.363 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/5.153, allocations: 0.5817 MB / 3.489 GB, free: 7.773 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/5.154, allocations: 0.5035 MB / 3.49 GB, free: 7.27 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/5.154, allocations: 16.77 kB / 3.49 GB, free: 7.254 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006781/5.155, allocations: 0.5104 MB / 3.49 GB, free: 6.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/5.155, allocations: 0 / 3.49 GB, free: 6.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002365/5.157, allocations: 1.376 MB / 3.492 GB, free: 5.332 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/5.157, allocations: 68.39 kB / 3.492 GB, free: 5.254 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/5.163, allocations: 4.306 MB / 3.496 GB, free: 0.957 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/5.163, allocations: 33.7 kB / 3.496 GB, free: 0.918 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/5.163, allocations: 0.5831 MB / 3.496 GB, free: 336 kB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/5.164, allocations: 315.4 kB / 3.497 GB, free: 16 kB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/5.164, allocations: 0 / 3.497 GB, free: 16 kB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.5084/5.672, allocations: 353.1 kB / 3.497 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/5.673, allocations: 360.5 kB / 3.497 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/5.674, allocations: 0.5262 MB / 3.498 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/5.674, allocations: 432.1 kB / 3.498 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/5.674, allocations: 3.938 kB / 3.498 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003154/5.677, allocations: 1.491 MB / 3.5 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/5.677, allocations: 7.812 kB / 3.5 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/5.677, allocations: 3.656 kB / 3.5 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/5.678, allocations: 335.2 kB / 3.5 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/5.679, allocations: 200.2 kB / 3.5 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/5.684, allocations: 4.68 MB / 3.505 GB, free: 0.4978 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/5.686, allocations: 125.8 kB / 3.505 GB, free: 0.4978 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/5.686, allocations: 40.88 kB / 3.505 GB, free: 0.4978 GB / 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.0002901/5.686, allocations: 139 kB / 3.505 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/5.687, allocations: 305 kB / 3.505 GB, free: 0.4975 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/5.69, allocations: 1.559 MB / 3.507 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/5.69, allocations: 13.66 kB / 3.507 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/5.69, allocations: 5.969 kB / 3.507 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/5.691, allocations: 9.359 kB / 3.507 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007358/5.698, allocations: 3.842 MB / 3.511 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/5.698, allocations: 0 / 3.511 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/5.698, allocations: 120.4 kB / 3.511 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008534/5.699, allocations: 332.6 kB / 3.511 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/5.699, allocations: 17.22 kB / 3.511 GB, free: 0.497 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/5.704, allocations: 4.664 MB / 3.516 GB, free: 0.4945 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/5.704, allocations: 2.594 kB / 3.516 GB, free: 0.4945 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003898/5.708, allocations: 2.134 MB / 3.518 GB, free: 0.4942 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/5.71, allocations: 0.7036 MB / 3.519 GB, free: 0.4939 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/5.71, allocations: 16.09 kB / 3.519 GB, free: 0.4939 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/5.711, allocations: 66.41 kB / 3.519 GB, free: 0.4939 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/5.711, allocations: 82.48 kB / 3.519 GB, free: 0.4939 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/5.711, allocations: 39.44 kB / 3.519 GB, free: 0.4939 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.00462/5.716, allocations: 3.398 MB / 3.522 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.00194/5.718, allocations: 0.56 MB / 3.523 GB, free: 0.4938 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.001681/5.719, allocations: 0.961 MB / 3.524 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002084/5.722, allocations: 1.211 MB / 3.525 GB, free: 0.4934 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/5.722, allocations: 6.062 kB / 3.525 GB, free: 0.4934 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/5.723, allocations: 0.7778 MB / 3.525 GB, free: 0.4932 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/5.724, allocations: 303.5 kB / 3.526 GB, free: 0.4932 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/5.733, allocations: 5.326 MB / 3.531 GB, free: 0.4923 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/5.735, allocations: 2.146 MB / 3.533 GB, free: 0.4916 GB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/5.735, allocations: 0 / 3.533 GB, free: 0.4916 GB / 1.151 GB Notification: Performance of Templates: time 0.04646/5.782, allocations: 26.23 MB / 3.559 GB, free: 0.4904 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches