Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.724/1.724, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009068/0.0009068, allocations: 177.2 kB / 490.8 MB, free: 1.906 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.066/1.066, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.0008105/0.0008105, allocations: 94.41 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.845e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1726, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.6327, allocations: 150.3 MB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.6329, allocations: 75.03 kB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.006629/0.6395, allocations: 2.779 MB / 1.361 GB, free: 17.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.6396, allocations: 7.75 kB / 1.361 GB, free: 17.37 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004433/0.64, allocations: 449 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.6401, allocations: 7.969 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.6401, allocations: 22.34 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.6402, allocations: 191.8 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6403, allocations: 6.5 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.6403, allocations: 15.16 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002167/0.6405, allocations: 114 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.6407, allocations: 150.4 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6408, allocations: 0 / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6408, allocations: 4.938 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.6408, allocations: 7.938 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.6415, allocations: 0.5475 MB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.6416, allocations: 118.1 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.6417, allocations: 46.17 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.6417, allocations: 5.406 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-06/0.6418, allocations: 33.12 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.6418, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002229/0.642, allocations: 115 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.306e-05/0.642, allocations: 59.09 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6421, allocations: 149.9 kB / 1.363 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.6421, allocations: 27.34 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.6422, allocations: 128.2 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.6422, allocations: 34.22 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6422, allocations: 0 / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.6423, allocations: 326.7 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.6424, allocations: 32.56 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.6424, allocations: 36.94 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.6425, allocations: 35.27 kB / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6425, allocations: 0 / 1.364 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001625/0.6427, allocations: 117.5 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.6427, allocations: 5.656 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6427, allocations: 1.594 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.6427, allocations: 1.188 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.6429, allocations: 30.16 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.6429, allocations: 5.047 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.643, allocations: 15.75 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.643, allocations: 4.609 kB / 1.364 GB, free: 31.6 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.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.996e-05/0.6431, allocations: 115.9 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.6431, allocations: 13.25 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.6431, allocations: 18.64 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6432, allocations: 2.25 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.6432, allocations: 7.938 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6432, allocations: 2.328 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.6434, allocations: 237.6 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6434, allocations: 1.188 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6435, allocations: 29.56 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6435, allocations: 5.062 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6435, allocations: 6.422 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6435, allocations: 4.938 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6435, allocations: 0 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/0.6437, allocations: 213.2 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.6438, allocations: 85.23 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.6438, allocations: 5.547 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.6439, allocations: 16.73 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.644, allocations: 26.05 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.644, allocations: 7.219 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.797e-05/0.6441, allocations: 108.5 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002309/0.6443, allocations: 33.59 kB / 1.365 GB, free: 30.96 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.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.0001021/0.6444, allocations: 120.5 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.6446, allocations: 94 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6446, allocations: 4.875 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.6447, allocations: 60.58 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.6449, allocations: 11.23 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.6453, allocations: 198.4 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.6456, allocations: 0.7554 MB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.6456, allocations: 0 / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.003591/0.6492, allocations: 1.68 MB / 1.368 GB, free: 29.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches