Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 9.1.1-maint.9.1.x/package.mo): time 1.812/1.812, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009623/0.0009625, allocations: 169.3 kB / 487 MB, free: 5.371 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.135/1.135, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008339/0.0008338, allocations: 78.45 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.452e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1918, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.7078, allocations: 149.5 MB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.708, allocations: 74.98 kB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007367/0.7154, allocations: 2.785 MB / 1.354 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.7154, allocations: 3.719 kB / 1.354 GB, free: 15.75 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004965/0.7159, allocations: 450.6 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.716, allocations: 9.562 kB / 1.354 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.716, allocations: 22.41 kB / 1.355 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7162, allocations: 193.5 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.7162, allocations: 11.22 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.7163, allocations: 15.25 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002509/0.7165, allocations: 112.6 kB / 1.355 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.7168, allocations: 147.6 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7168, allocations: 5 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.7168, allocations: 0 / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7168, allocations: 4.844 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.7177, allocations: 0.5426 MB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.7179, allocations: 119 kB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.718, allocations: 53.08 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.718, allocations: 2.031 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.718, allocations: 34.81 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 2.043e-06/0.718, allocations: 0.7812 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002732/0.7183, allocations: 119.1 kB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.7183, allocations: 57.03 kB / 1.356 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7185, allocations: 149.8 kB / 1.356 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.7185, allocations: 25.7 kB / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.7185, allocations: 125.5 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7186, allocations: 38.64 kB / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.7186, allocations: 0 / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.7186, allocations: 322.5 kB / 1.356 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.7187, allocations: 34.09 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.7188, allocations: 39.44 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.7188, allocations: 27 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7188, allocations: 0 / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001902/0.719, allocations: 124.2 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7191, allocations: 5.469 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7191, allocations: 3.984 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7191, allocations: 1.344 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.7193, allocations: 30.56 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7193, allocations: 1.188 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.7194, allocations: 17.34 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.7194, allocations: 3.453 kB / 1.357 GB, free: 13.99 MB / 0.8073 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.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.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 (15): * Single equations (assignments): 15 * 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 5.76e-05/0.7195, allocations: 113.2 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.7195, allocations: 21.69 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.7196, allocations: 13.7 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7196, allocations: 1.656 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7196, allocations: 0.8125 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7196, allocations: 1.406 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.7198, allocations: 237.4 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7198, allocations: 1.453 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.72, allocations: 29.66 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.72, allocations: 0.8438 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.72, allocations: 2.125 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.72, allocations: 1.531 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.72, allocations: 3.938 kB / 1.357 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002129/0.7202, allocations: 220.9 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.7203, allocations: 90.22 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.7203, allocations: 4.812 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.7205, allocations: 12.3 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.7205, allocations: 32.11 kB / 1.358 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.7206, allocations: 7.422 kB / 1.358 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.97e-05/0.7206, allocations: 109.3 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002553/0.7209, allocations: 35.06 kB / 1.358 GB, free: 13.36 MB / 0.8073 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.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.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 (15): * Single equations (assignments): 15 * 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.0001245/0.721, allocations: 114.8 kB / 1.358 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.7212, allocations: 101.5 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7212, allocations: 0 / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7213, allocations: 60.73 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.7216, allocations: 13.98 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.7221, allocations: 209.2 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.7224, allocations: 0.7544 MB / 1.359 GB, free: 28.43 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7224, allocations: 0 / 1.359 GB, free: 28.43 MB / 0.823 GB Notification: Performance of Templates: time 0.004556/0.7269, allocations: 1.674 MB / 1.361 GB, free: 28.34 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches