Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") [: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 2.042/2.042, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001328/0.001328, allocations: 192 kB / 490.8 MB, free: 1.914 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.366/1.366, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.001051/0.001051, allocations: 98.47 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.331e-06/6.362e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2555, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/4.775, allocations: 2.191 GB / 3.403 GB, free: 117.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/4.775, allocations: 91.94 kB / 3.403 GB, free: 117.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1689/4.944, allocations: 80.14 MB / 3.481 GB, free: 36.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004497/4.945, allocations: 59.86 kB / 3.481 GB, free: 36.71 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.006141/4.951, allocations: 2.29 MB / 3.483 GB, free: 34.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/4.951, allocations: 12.02 kB / 3.483 GB, free: 34.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/4.952, allocations: 312.1 kB / 3.484 GB, free: 34.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006773/4.959, allocations: 2.427 MB / 3.486 GB, free: 31.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/4.959, allocations: 83.69 kB / 3.486 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/4.96, allocations: 55.98 kB / 3.486 GB, free: 31.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00166/4.961, allocations: 0.699 MB / 3.487 GB, free: 30.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/4.963, allocations: 0.7977 MB / 3.488 GB, free: 29.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/4.963, allocations: 0 / 3.488 GB, free: 29.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/4.963, allocations: 15.83 kB / 3.488 GB, free: 29.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/4.963, allocations: 24 kB / 3.488 GB, free: 29.86 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007978/4.971, allocations: 4.383 MB / 3.492 GB, free: 25.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000919/4.972, allocations: 0.5296 MB / 3.492 GB, free: 24.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/4.973, allocations: 482.5 kB / 3.493 GB, free: 24.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/4.973, allocations: 20.77 kB / 3.493 GB, free: 24.17 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/4.974, allocations: 484.3 kB / 3.493 GB, free: 23.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 3.486e-06/4.974, allocations: 0 / 3.493 GB, free: 23.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.002751/4.976, allocations: 1.27 MB / 3.495 GB, free: 22.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/4.976, allocations: 68.19 kB / 3.495 GB, free: 22.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007845/4.984, allocations: 3.746 MB / 3.498 GB, free: 18.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/4.984, allocations: 33.69 kB / 3.498 GB, free: 18.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/4.985, allocations: 0.5379 MB / 3.499 GB, free: 17.98 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/4.985, allocations: 291.9 kB / 3.499 GB, free: 17.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/4.985, allocations: 0 / 3.499 GB, free: 17.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000103/4.985, allocations: 346.6 kB / 3.499 GB, free: 17.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/4.986, allocations: 333.9 kB / 3.5 GB, free: 17.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/4.987, allocations: 499.1 kB / 3.5 GB, free: 16.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/4.987, allocations: 395 kB / 3.501 GB, free: 16.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/4.987, allocations: 4 kB / 3.501 GB, free: 16.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002815/4.99, allocations: 1.393 MB / 3.502 GB, free: 14.68 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/4.99, allocations: 8 kB / 3.502 GB, free: 14.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/4.99, allocations: 0 / 3.502 GB, free: 14.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/4.991, allocations: 333.3 kB / 3.502 GB, free: 14.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/4.992, allocations: 175.7 kB / 3.502 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/4.997, allocations: 4.677 MB / 3.507 GB, free: 9.266 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/4.998, allocations: 123.2 kB / 3.507 GB, free: 9.145 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/4.998, allocations: 35.94 kB / 3.507 GB, free: 9.109 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0002868/4.999, allocations: 144.8 kB / 3.507 GB, free: 8.961 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/5, allocations: 268.5 kB / 3.508 GB, free: 8.695 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/5.003, allocations: 1.435 MB / 3.509 GB, free: 7.238 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/5.003, allocations: 12 kB / 3.509 GB, free: 7.227 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/5.003, allocations: 8 kB / 3.509 GB, free: 7.219 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/5.003, allocations: 3.984 kB / 3.509 GB, free: 7.215 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007863/5.011, allocations: 3.489 MB / 3.512 GB, free: 3.676 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/5.011, allocations: 3.938 kB / 3.512 GB, free: 3.672 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/5.011, allocations: 111.9 kB / 3.513 GB, free: 3.562 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008592/5.012, allocations: 342.1 kB / 3.513 GB, free: 3.223 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/5.012, allocations: 7.984 kB / 3.513 GB, free: 3.215 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5125/5.525, allocations: 4.669 MB / 3.517 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/5.525, allocations: 2.438 kB / 3.517 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003943/5.529, allocations: 1.975 MB / 3.519 GB, free: 0.489 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/5.53, allocations: 0.628 MB / 3.52 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/5.531, allocations: 12.44 kB / 3.52 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/5.531, allocations: 61.5 kB / 3.52 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/5.531, allocations: 80.03 kB / 3.52 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/5.532, allocations: 32.86 kB / 3.52 GB, free: 0.4888 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.003969/5.535, allocations: 2.956 MB / 3.523 GB, free: 0.4886 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001819/5.537, allocations: 0.5206 MB / 3.524 GB, free: 0.4886 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/5.539, allocations: 0.9648 MB / 3.525 GB, free: 0.4885 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001946/5.541, allocations: 1.128 MB / 3.526 GB, free: 0.4883 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.541, allocations: 2.719 kB / 3.526 GB, free: 0.4883 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/5.542, allocations: 0.7329 MB / 3.526 GB, free: 499.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/5.544, allocations: 273.9 kB / 3.527 GB, free: 499.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009137/5.553, allocations: 4.756 MB / 3.531 GB, free: 499 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/5.555, allocations: 1.982 MB / 3.533 GB, free: 498.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.004e-06/5.555, allocations: 2.844 kB / 3.533 GB, free: 498.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04597/5.601, allocations: 24.2 MB / 3.557 GB, free: 497.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches