Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.779/1.779, 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.0009158/0.0009158, allocations: 181.3 kB / 487 MB, free: 5.344 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.125/1.125, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0008022/0.0008022, allocations: 98.8 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.731e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1893, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.7031, allocations: 149.5 MB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.7034, allocations: 75.83 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007045/0.7104, allocations: 2.787 MB / 1.354 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.7105, allocations: 4.281 kB / 1.354 GB, free: 15.62 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.0004341/0.7109, allocations: 453.6 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7109, allocations: 9.562 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.711, allocations: 23.31 kB / 1.355 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7111, allocations: 193.5 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.7111, allocations: 7.844 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.7112, allocations: 10.69 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002194/0.7114, allocations: 116.6 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.7117, allocations: 143.3 kB / 1.355 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7117, allocations: 3.906 kB / 1.355 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.7117, allocations: 5.703 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.7117, allocations: 5.156 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.7124, allocations: 0.5438 MB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.7126, allocations: 117.2 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.7127, allocations: 51.62 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.7127, allocations: 5.688 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.7128, allocations: 35.73 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.7128, allocations: 7.922 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002484/0.713, allocations: 113 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/0.713, allocations: 53.16 kB / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7132, allocations: 149.5 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7132, allocations: 25.7 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.7132, allocations: 130.2 kB / 1.356 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.7133, allocations: 38.39 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.7133, allocations: 0.8125 kB / 1.356 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.7133, allocations: 320.9 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.7134, allocations: 34.11 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.7135, allocations: 36.8 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.7135, allocations: 23.75 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7135, allocations: 0 / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001812/0.7137, allocations: 128.4 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.7137, allocations: 5.062 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7137, allocations: 4 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7138, allocations: 2.078 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.7139, allocations: 26.69 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.714, allocations: 0 / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.7141, allocations: 21.48 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.7141, allocations: 8.406 kB / 1.357 GB, free: 13.86 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.18e-05/0.7141, allocations: 109 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.7142, allocations: 13.44 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.7142, allocations: 15.61 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7142, allocations: 1.438 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7142, allocations: 1 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7143, allocations: 5.266 kB / 1.357 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.7145, allocations: 238.4 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7145, allocations: 0 / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.7146, allocations: 29.27 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7147, allocations: 0.8438 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7147, allocations: 0.6875 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7147, allocations: 1.438 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7147, allocations: 11.94 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001973/0.7149, allocations: 216.9 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.7149, allocations: 90.14 kB / 1.357 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.7149, allocations: 1.062 kB / 1.357 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.7151, allocations: 20.03 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.7152, allocations: 27.22 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.7152, allocations: 4.438 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.15e-05/0.7153, allocations: 109.5 kB / 1.358 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000241/0.7155, allocations: 35.92 kB / 1.358 GB, free: 13.23 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.0001079/0.7156, allocations: 106 kB / 1.358 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.7158, allocations: 101.3 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.7158, allocations: 4 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.7159, allocations: 60.94 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.7161, allocations: 10.36 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.7166, allocations: 206.2 kB / 1.358 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.7169, allocations: 0.7575 MB / 1.359 GB, free: 28.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7169, allocations: 0.8125 kB / 1.359 GB, free: 28.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004202/0.7211, allocations: 1.68 MB / 1.361 GB, free: 28.21 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches