Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.721/1.721, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009292/0.0009294, allocations: 177.3 kB / 490.8 MB, free: 1.953 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.1/1.1, 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.0007957/0.0007957, allocations: 94.98 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.841e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.6118, allocations: 150.9 MB / 1.359 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.612, allocations: 73.27 kB / 1.359 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01392/0.6259, allocations: 5.755 MB / 1.365 GB, free: 16.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.626, allocations: 8.875 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.001022/0.627, allocations: 0.6903 MB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.627, allocations: 11.2 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.6271, allocations: 57.12 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.6273, allocations: 231 kB / 1.366 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.6273, allocations: 24 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.6274, allocations: 29.73 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005001/0.6279, allocations: 293.1 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.6285, allocations: 381.9 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6285, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.6285, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6285, allocations: 12.41 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.6299, allocations: 1.195 MB / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.6304, allocations: 330.3 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.6306, allocations: 158.7 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.6306, allocations: 5.125 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.6306, allocations: 43.12 kB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.462e-06/0.6306, allocations: 0 / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005194/0.6312, allocations: 286.1 kB / 1.368 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.6312, allocations: 107.6 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.6314, allocations: 221.4 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.6314, allocations: 25.7 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.6315, allocations: 190.1 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.6316, allocations: 108.1 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.6316, allocations: 0 / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.6317, allocations: 345.7 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.6318, allocations: 97.98 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.632, allocations: 138.2 kB / 1.369 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6322, allocations: 79.42 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6322, allocations: 0 / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004131/0.6326, allocations: 289.4 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.6326, allocations: 4.312 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6326, allocations: 1.031 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6326, allocations: 2 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.6331, allocations: 110.3 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6332, allocations: 6.25 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.6335, allocations: 68.03 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.6335, allocations: 12.89 kB / 1.37 GB, free: 30.52 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.831e-05/0.6336, allocations: 113 kB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.6337, allocations: 34.88 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.6338, allocations: 37.22 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6338, allocations: 8.391 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6338, allocations: 2.5 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6338, allocations: 2.719 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.6342, allocations: 408.6 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6342, allocations: 0 / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.6347, allocations: 110.7 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6347, allocations: 1.312 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.6347, allocations: 8 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6347, allocations: 5.406 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6348, allocations: 1.219 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004891/0.6352, allocations: 0.5546 MB / 1.371 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.6353, allocations: 111.1 kB / 1.371 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.6353, allocations: 5.312 kB / 1.371 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.6358, allocations: 62.25 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.6359, allocations: 57.77 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.6359, allocations: 13.55 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001204/0.6361, allocations: 152.2 kB / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003664/0.6364, allocations: 76.72 kB / 1.372 GB, free: 29.64 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.0001196/0.6366, allocations: 124 kB / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.637, allocations: 282.2 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.637, allocations: 1.094 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.6373, allocations: 182 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.6376, allocations: 31.62 kB / 1.372 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.6385, allocations: 483 kB / 1.373 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.639, allocations: 0.8638 MB / 1.374 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/0.639, allocations: 1.125 kB / 1.374 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.007691/0.6467, allocations: 4.335 MB / 1.378 GB, free: 28.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches