Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.742/1.742, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0009052/0.0009052, allocations: 191.9 kB / 490.8 MB, free: 1.949 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.083/1.083, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.000771/0.0007711, allocations: 92.61 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.65e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.6137, allocations: 150.9 MB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.6139, allocations: 72.06 kB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01374/0.6277, allocations: 5.761 MB / 1.365 GB, free: 17.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6277, allocations: 10.06 kB / 1.365 GB, free: 17.04 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.0009841/0.6287, allocations: 0.6928 MB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6287, allocations: 10.06 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.6288, allocations: 53.39 kB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.629, allocations: 234 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.629, allocations: 25.19 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.6291, allocations: 29.31 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005037/0.6296, allocations: 292.1 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.6301, allocations: 377.6 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6301, allocations: 4 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.6302, allocations: 0 / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6302, allocations: 15.53 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.6316, allocations: 1.19 MB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.632, allocations: 325.8 kB / 1.368 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.6322, allocations: 158.7 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.6322, allocations: 17.5 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.6322, allocations: 37.16 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.332e-06/0.6322, allocations: 0 / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0004986/0.6328, allocations: 283.4 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.6328, allocations: 108.2 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.633, allocations: 223.5 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.633, allocations: 29.7 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.6331, allocations: 189 kB / 1.369 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.6331, allocations: 105.5 kB / 1.369 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.6331, allocations: 1.312 kB / 1.369 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.6332, allocations: 341.9 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.6334, allocations: 100.2 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.6336, allocations: 133.5 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.6337, allocations: 83.56 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6337, allocations: 0 / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003994/0.6341, allocations: 288.9 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.6341, allocations: 5.906 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6342, allocations: 1.438 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6342, allocations: 2.812 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.6347, allocations: 111.7 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6347, allocations: 3.953 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.635, allocations: 73.77 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.635, allocations: 17.39 kB / 1.37 GB, free: 30.6 MB / 0.8386 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 8.662e-05/0.6351, allocations: 111.4 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.6352, allocations: 34.03 kB / 1.37 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.6353, allocations: 32.38 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6353, allocations: 4.938 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6353, allocations: 0.875 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6353, allocations: 4.047 kB / 1.37 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.6357, allocations: 411.5 kB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6357, allocations: 5.469 kB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.6362, allocations: 108.2 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.6362, allocations: 2.406 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.6362, allocations: 3.562 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6362, allocations: 11.81 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6362, allocations: 1.25 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005052/0.6367, allocations: 0.5399 MB / 1.371 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.6368, allocations: 115.7 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.6368, allocations: 9.125 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.6372, allocations: 58.09 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6374, allocations: 61.81 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6374, allocations: 13.06 kB / 1.371 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.901e-05/0.6375, allocations: 157.2 kB / 1.372 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003516/0.6379, allocations: 74.58 kB / 1.372 GB, free: 29.73 MB / 0.8386 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.0001164/0.638, allocations: 116.3 kB / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.6384, allocations: 278.3 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.6384, allocations: 0 / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.6387, allocations: 193.6 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.639, allocations: 23.92 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.6399, allocations: 486.5 kB / 1.373 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.6403, allocations: 0.8608 MB / 1.374 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.6403, allocations: 1.281 kB / 1.374 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.007506/0.6478, allocations: 4.342 MB / 1.378 GB, free: 28.46 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches