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.Overrides.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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") [: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.769/1.769, 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.0009708/0.0009708, allocations: 192.7 kB / 487 MB, free: 5.367 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.155/1.155, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008644/0.0008644, allocations: 97.72 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.293e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5157/0.7153, allocations: 150.1 MB / 1.352 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.7156, allocations: 76.91 kB / 1.352 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01538/0.7309, allocations: 5.739 MB / 1.358 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.731, allocations: 12.78 kB / 1.358 GB, free: 15.59 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001157/0.7322, allocations: 0.6984 MB / 1.358 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7322, allocations: 9.781 kB / 1.358 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.7323, allocations: 53.8 kB / 1.358 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7325, allocations: 239.6 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.7326, allocations: 16.94 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.7327, allocations: 25.84 kB / 1.359 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005966/0.7333, allocations: 300.4 kB / 1.359 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.7339, allocations: 381.3 kB / 1.359 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7339, allocations: 0.9688 kB / 1.359 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.734, allocations: 0 / 1.359 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.734, allocations: 11.62 kB / 1.359 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.7356, allocations: 1.188 MB / 1.36 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.7361, allocations: 322.1 kB / 1.361 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.7364, allocations: 170 kB / 1.361 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.7365, allocations: 7.594 kB / 1.361 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.7365, allocations: 41.22 kB / 1.361 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.7365, allocations: 0 / 1.361 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0005758/0.7371, allocations: 286.9 kB / 1.361 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.7371, allocations: 107.4 kB / 1.361 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.7373, allocations: 222.2 kB / 1.361 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7373, allocations: 28.83 kB / 1.361 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.7374, allocations: 178.2 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.7374, allocations: 109.3 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.7375, allocations: 3.938 kB / 1.362 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.7375, allocations: 342.4 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.7377, allocations: 102.7 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.7378, allocations: 130.4 kB / 1.362 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.738, allocations: 84.28 kB / 1.362 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.738, allocations: 0.75 kB / 1.362 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003922/0.7384, allocations: 285.9 kB / 1.363 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.7384, allocations: 4 kB / 1.363 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7384, allocations: 0.7031 kB / 1.363 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7384, allocations: 4 kB / 1.363 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.7389, allocations: 117.5 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7389, allocations: 0.6094 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.7393, allocations: 70 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.7393, allocations: 10.02 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 7.463e-05/0.7394, allocations: 117.8 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.7395, allocations: 36.22 kB / 1.363 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.7395, allocations: 36.67 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7395, allocations: 4 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7396, allocations: 3.984 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7396, allocations: 2.484 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.74, allocations: 413.3 kB / 1.363 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.74, allocations: 0 / 1.363 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.7405, allocations: 112.7 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.7405, allocations: 7.906 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.7405, allocations: 1.969 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7405, allocations: 4 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.7405, allocations: 0.5625 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004534/0.741, allocations: 0.5641 MB / 1.364 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.741, allocations: 105.8 kB / 1.364 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.7411, allocations: 0.7031 kB / 1.364 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.7415, allocations: 62.39 kB / 1.364 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7417, allocations: 56.83 kB / 1.364 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.7417, allocations: 13.12 kB / 1.364 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.191e-05/0.7418, allocations: 155.6 kB / 1.364 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003579/0.7422, allocations: 75.69 kB / 1.365 GB, free: 11.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001161/0.7423, allocations: 124.7 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.7427, allocations: 278.8 kB / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7427, allocations: 0 / 1.365 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.7429, allocations: 192.4 kB / 1.365 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.7433, allocations: 24.67 kB / 1.365 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.7442, allocations: 490.7 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.7446, allocations: 0.8604 MB / 1.366 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.7446, allocations: 3.938 kB / 1.366 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.006431/0.751, allocations: 4.337 MB / 1.371 GB, free: 5.52 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches