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.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.728/1.728, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0008934/0.0008934, allocations: 189.2 kB / 490.8 MB, free: 1.934 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.086/1.086, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.0007848/0.0007848, allocations: 95.67 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.49e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1699, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.6366, allocations: 150.9 MB / 1.359 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.6368, allocations: 82.08 kB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0139/0.6507, allocations: 5.751 MB / 1.365 GB, free: 16.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6507, allocations: 8.438 kB / 1.365 GB, free: 16.95 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.001025/0.6518, allocations: 0.7019 MB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.6518, allocations: 9.406 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.6519, allocations: 53.09 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.652, allocations: 227.8 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.6521, allocations: 28.41 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.6521, allocations: 25.81 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004989/0.6526, allocations: 290.2 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.6532, allocations: 389.5 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6532, allocations: 0 / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.6532, allocations: 0 / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6533, allocations: 11.5 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.6546, allocations: 1.197 MB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.655, allocations: 328.8 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.6552, allocations: 159.7 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.6553, allocations: 5.125 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.6553, allocations: 37.05 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.423e-06/0.6553, allocations: 0 / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005132/0.6558, allocations: 287 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.6559, allocations: 113.2 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.656, allocations: 221.9 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.6561, allocations: 25.7 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.6561, allocations: 186.5 kB / 1.369 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.6562, allocations: 105.4 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.6562, allocations: 0 / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.6563, allocations: 341.1 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.6565, allocations: 100.6 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.6567, allocations: 136.8 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.6568, allocations: 90.17 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6568, allocations: 0 / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004092/0.6572, allocations: 283 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.6572, allocations: 4.75 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6572, allocations: 5.531 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6573, allocations: 2.062 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.6578, allocations: 111.7 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6578, allocations: 2.969 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.6581, allocations: 74.83 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.6581, allocations: 8.312 kB / 1.37 GB, free: 30.51 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.74e-05/0.6582, allocations: 114.2 kB / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.6583, allocations: 33.66 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.6584, allocations: 38.3 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6584, allocations: 8.438 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6584, allocations: 1.406 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6584, allocations: 2.531 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.6589, allocations: 409.3 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6589, allocations: 0 / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6593, allocations: 112.8 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6593, allocations: 2.688 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.6594, allocations: 4.031 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6594, allocations: 6.156 kB / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6594, allocations: 0 / 1.371 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004759/0.6599, allocations: 0.5532 MB / 1.371 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.6599, allocations: 105.6 kB / 1.371 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.66, allocations: 7.516 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.6604, allocations: 60.56 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6605, allocations: 63 kB / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.6606, allocations: 13.77 kB / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.973e-05/0.6607, allocations: 153.6 kB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003602/0.661, allocations: 76.41 kB / 1.372 GB, free: 29.63 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.0001152/0.6612, allocations: 122.6 kB / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.6616, allocations: 288.5 kB / 1.372 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6616, allocations: 0 / 1.372 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.6619, allocations: 181.8 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.6622, allocations: 30.5 kB / 1.372 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.6631, allocations: 488.1 kB / 1.373 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.6635, allocations: 0.8594 MB / 1.374 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/0.6635, allocations: 0 / 1.374 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.007552/0.6711, allocations: 4.324 MB / 1.378 GB, free: 28.37 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches