Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.702/1.702, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009152/0.0009152, allocations: 185.2 kB / 490.8 MB, free: 1.945 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.06/1.06, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008063/0.0008063, allocations: 95.08 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.102e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1669, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.6228, allocations: 150.8 MB / 1.359 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/0.6229, allocations: 71.31 kB / 1.359 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.008894/0.6318, allocations: 4.032 MB / 1.363 GB, free: 17.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.6319, allocations: 5.406 kB / 1.363 GB, free: 17.1 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0005399/0.6324, allocations: 0.5165 MB / 1.363 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.6324, allocations: 8.25 kB / 1.363 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.6325, allocations: 36.59 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.6326, allocations: 209.9 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6327, allocations: 10.88 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.6327, allocations: 28.14 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003228/0.633, allocations: 194.5 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.6334, allocations: 224.8 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6334, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.6334, allocations: 1.062 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6334, allocations: 7.062 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009538/0.6344, allocations: 0.7843 MB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.6347, allocations: 199.5 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.6348, allocations: 96.97 kB / 1.365 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.6348, allocations: 10.94 kB / 1.365 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.022e-05/0.6348, allocations: 40.53 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.102e-06/0.6348, allocations: 0 / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0002943/0.6351, allocations: 179.6 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.35e-05/0.6352, allocations: 60.2 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.6353, allocations: 168.5 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6353, allocations: 25.7 kB / 1.366 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.6354, allocations: 161.2 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.6354, allocations: 73.41 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.6354, allocations: 1.344 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.6355, allocations: 330.7 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.6356, allocations: 58.75 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.6357, allocations: 57.62 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.6358, allocations: 56.27 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6358, allocations: 0 / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002522/0.6361, allocations: 190 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.6361, allocations: 8.562 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.6361, allocations: 0 / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.6361, allocations: 1.875 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6363, allocations: 45.31 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.6363, allocations: 2.953 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.6365, allocations: 25.27 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.6365, allocations: 5.031 kB / 1.367 GB, free: 31.18 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: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.77e-05/0.6366, allocations: 112.6 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.6366, allocations: 21.12 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.6369, allocations: 205.1 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.6369, allocations: 6.344 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6369, allocations: 0 / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.637, allocations: 2.766 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.6372, allocations: 303.9 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6372, allocations: 2.641 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6374, allocations: 49.31 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6374, allocations: 1.156 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6375, allocations: 5.375 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6375, allocations: 2.578 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6375, allocations: 3.938 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002813/0.6378, allocations: 292.7 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.6378, allocations: 100.1 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.6378, allocations: 1.25 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.638, allocations: 16.19 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.6381, allocations: 27.66 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.6381, allocations: 5.406 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.616e-05/0.6382, allocations: 126.6 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002497/0.6384, allocations: 55.27 kB / 1.368 GB, free: 30.48 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: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001061/0.6385, allocations: 124.1 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.6388, allocations: 171 kB / 1.368 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.6388, allocations: 0 / 1.368 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.6389, allocations: 99.95 kB / 1.368 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.6391, allocations: 10.73 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.6397, allocations: 311.7 kB / 1.369 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.6401, allocations: 0.7966 MB / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6401, allocations: 0 / 1.369 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.004536/0.6447, allocations: 2.222 MB / 1.372 GB, free: 29.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches