Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") [: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.74/1.74, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009827/0.0009827, allocations: 195.7 kB / 490.8 MB, free: 1.965 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.091/1.091, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008233/0.0008234, allocations: 100.2 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.432e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.6099, allocations: 150.7 MB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.6101, allocations: 73.84 kB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.008252/0.6184, allocations: 3.546 MB / 1.362 GB, free: 17.06 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.6184, allocations: 6.094 kB / 1.362 GB, free: 17.06 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005335/0.6189, allocations: 0.4982 MB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.619, allocations: 8.906 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.619, allocations: 26.53 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6194, allocations: 269 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.6194, allocations: 8.625 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.6194, allocations: 22.31 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002487/0.6197, allocations: 142 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.62, allocations: 174.3 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.62, allocations: 0 / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.62, allocations: 1.188 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.62, allocations: 5.969 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.6209, allocations: 0.6659 MB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.6212, allocations: 145 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.6213, allocations: 61.22 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.6213, allocations: 2.281 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.6213, allocations: 31.56 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.6213, allocations: 1.094 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002518/0.6216, allocations: 129.2 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.6216, allocations: 59.17 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.6217, allocations: 171.5 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6218, allocations: 26.86 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.6218, allocations: 140.4 kB / 1.365 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.6219, allocations: 45.58 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-06/0.6219, allocations: 0 / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.622, allocations: 328.4 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.622, allocations: 42.45 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.6221, allocations: 61.58 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.6222, allocations: 41.69 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6222, allocations: 1.219 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001926/0.6224, allocations: 138.4 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.6224, allocations: 5.516 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.6224, allocations: 0 / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.6224, allocations: 1.031 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.6226, allocations: 36.59 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.6226, allocations: 1.219 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6228, allocations: 20.75 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.6228, allocations: 5.109 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.6229, allocations: 121.3 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.6229, allocations: 15.91 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.6229, allocations: 18.53 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.623, allocations: 4.875 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.623, allocations: 1.125 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.623, allocations: 1.359 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.6232, allocations: 262.9 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6232, allocations: 0 / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.6233, allocations: 30.84 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6234, allocations: 2.547 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6234, allocations: 1 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6234, allocations: 1.281 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6234, allocations: 5.438 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002105/0.6236, allocations: 237.1 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.6236, allocations: 99.09 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.6237, allocations: 4.031 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6238, allocations: 20.77 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.6239, allocations: 30.77 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.6239, allocations: 8.453 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.295e-05/0.624, allocations: 124.4 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002391/0.6243, allocations: 43.22 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.6244, allocations: 111 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.6246, allocations: 121.2 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.6246, allocations: 1.125 kB / 1.367 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.6247, allocations: 70.81 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.6249, allocations: 25.48 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.6254, allocations: 244.2 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.6257, allocations: 0.7777 MB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/0.6258, allocations: 0 / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.004324/0.6301, allocations: 2.11 MB / 1.37 GB, free: 29.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches