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.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.794/1.794, 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.0009574/0.0009574, allocations: 181.3 kB / 487 MB, free: 5.363 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0009415/0.0009415, allocations: 101.4 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.071e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.7075, allocations: 150.1 MB / 1.352 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.7077, allocations: 76.52 kB / 1.352 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0145/0.7222, allocations: 5.749 MB / 1.358 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.7223, allocations: 9.562 kB / 1.358 GB, free: 15.61 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.00104/0.7233, allocations: 0.6987 MB / 1.358 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7234, allocations: 9.594 kB / 1.358 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.7235, allocations: 54.03 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.7236, allocations: 239.3 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.7237, allocations: 21.34 kB / 1.359 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.7237, allocations: 25.12 kB / 1.359 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005476/0.7243, allocations: 292.1 kB / 1.359 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.7249, allocations: 379.5 kB / 1.359 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7249, allocations: 4.875 kB / 1.359 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.725, allocations: 0 / 1.359 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.725, allocations: 11.98 kB / 1.359 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.7265, allocations: 1.187 MB / 1.36 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.727, allocations: 334.9 kB / 1.361 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.7273, allocations: 162.7 kB / 1.361 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.7274, allocations: 7.812 kB / 1.361 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7274, allocations: 41.86 kB / 1.361 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 1.393e-06/0.7274, allocations: 0 / 1.361 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0006003/0.728, allocations: 278.3 kB / 1.361 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.728, allocations: 111.6 kB / 1.361 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.7282, allocations: 225.5 kB / 1.361 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.7282, allocations: 25.7 kB / 1.361 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.7283, allocations: 181.5 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.7283, allocations: 104.2 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.7284, allocations: 3.938 kB / 1.362 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.7284, allocations: 341.3 kB / 1.362 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.7286, allocations: 103.6 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.7287, allocations: 131.4 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.7289, allocations: 83.7 kB / 1.362 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7289, allocations: 4 kB / 1.362 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003881/0.7293, allocations: 285.6 kB / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.7293, allocations: 4.609 kB / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7293, allocations: 0 / 1.363 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7293, allocations: 4 kB / 1.363 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.7298, allocations: 117.9 kB / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.7298, allocations: 0.7969 kB / 1.363 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.7302, allocations: 69.77 kB / 1.363 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.7302, allocations: 10.02 kB / 1.363 GB, free: 12.63 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.559e-05/0.7303, allocations: 121.9 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.7304, allocations: 32.17 kB / 1.363 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.7304, allocations: 35.2 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7304, allocations: 8 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7304, allocations: 0.6094 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7305, allocations: 1.641 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.7309, allocations: 414.6 kB / 1.363 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7309, allocations: 0.6094 kB / 1.363 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.7314, allocations: 113.2 kB / 1.364 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7314, allocations: 7.906 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.7314, allocations: 1.688 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.7314, allocations: 4 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7314, allocations: 0.6094 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004341/0.7319, allocations: 0.5592 MB / 1.364 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.7319, allocations: 109.4 kB / 1.364 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.732, allocations: 0.7969 kB / 1.364 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.7324, allocations: 64.83 kB / 1.364 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7325, allocations: 58.73 kB / 1.364 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.7326, allocations: 12.97 kB / 1.364 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.516e-05/0.7327, allocations: 153.6 kB / 1.364 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003528/0.733, allocations: 76.34 kB / 1.365 GB, free: 11.21 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.0001217/0.7331, allocations: 118.7 kB / 1.365 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.7335, allocations: 284.5 kB / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7335, allocations: 0 / 1.365 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.7338, allocations: 190.5 kB / 1.365 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.7341, allocations: 24.44 kB / 1.365 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.7351, allocations: 491.7 kB / 1.366 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.7355, allocations: 0.864 MB / 1.366 GB, free: 25.56 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.7355, allocations: 0 / 1.366 GB, free: 25.56 MB / 0.823 GB Notification: Performance of Templates: time 0.006616/0.7421, allocations: 4.336 MB / 1.371 GB, free: 21.59 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches