Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.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.715/1.715, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.000876/0.000876, allocations: 191.8 kB / 490.8 MB, free: 1.887 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.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.0008294/0.0008294, allocations: 93.11 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.491e-06/5.521e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1688, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.6273, allocations: 150.9 MB / 1.359 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.6275, allocations: 72.7 kB / 1.359 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01378/0.6413, allocations: 5.757 MB / 1.365 GB, free: 17.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.6413, allocations: 8.562 kB / 1.365 GB, free: 17.09 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.0009787/0.6423, allocations: 0.6904 MB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.6423, allocations: 9.406 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.6424, allocations: 53.09 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.6426, allocations: 241.4 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.6426, allocations: 24.56 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.6426, allocations: 25.59 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004943/0.6431, allocations: 292.2 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.6437, allocations: 375.4 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6437, allocations: 1.25 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.6437, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.6438, allocations: 11.97 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.6451, allocations: 1.2 MB / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.6455, allocations: 328.9 kB / 1.368 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.6457, allocations: 155.3 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.6458, allocations: 7.625 kB / 1.368 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.6458, allocations: 42.86 kB / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.352e-06/0.6458, allocations: 0 / 1.368 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005127/0.6463, allocations: 286.4 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.6463, allocations: 107.3 kB / 1.368 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.6465, allocations: 224.1 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6466, allocations: 25.7 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.6466, allocations: 188.9 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.6467, allocations: 106.2 kB / 1.369 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.6467, allocations: 4 kB / 1.369 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6469, allocations: 344 kB / 1.369 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.647, allocations: 98.48 kB / 1.369 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.6472, allocations: 132.2 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.6473, allocations: 84.64 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6473, allocations: 0 / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004019/0.6477, allocations: 288.4 kB / 1.37 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.6478, allocations: 9.453 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6478, allocations: 1 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6478, allocations: 2.656 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.6483, allocations: 104.2 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6483, allocations: 3.797 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.6486, allocations: 73.27 kB / 1.37 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.6487, allocations: 20.98 kB / 1.37 GB, free: 30.65 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.805e-05/0.6487, allocations: 120.2 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.6488, allocations: 30.27 kB / 1.37 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.6489, allocations: 35.14 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6489, allocations: 4.656 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6489, allocations: 1.438 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6489, allocations: 2.906 kB / 1.37 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.6493, allocations: 410.1 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6494, allocations: 5.375 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.6498, allocations: 113.7 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6498, allocations: 1.531 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.6499, allocations: 3.188 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6499, allocations: 6.25 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6499, allocations: 1.344 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004866/0.6504, allocations: 0.548 MB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.6504, allocations: 107.3 kB / 1.371 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.6505, allocations: 9.344 kB / 1.371 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.6509, allocations: 60.69 kB / 1.371 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.651, allocations: 60.55 kB / 1.371 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.651, allocations: 11.31 kB / 1.371 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001027/0.6511, allocations: 156.7 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003556/0.6515, allocations: 76.69 kB / 1.372 GB, free: 29.78 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.0001116/0.6516, allocations: 125.3 kB / 1.372 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.652, allocations: 278.1 kB / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.6521, allocations: 0 / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.6523, allocations: 186.5 kB / 1.372 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.6527, allocations: 28.44 kB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.6535, allocations: 490.5 kB / 1.373 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.654, allocations: 0.8595 MB / 1.374 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.654, allocations: 0 / 1.374 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of Templates: time 0.007449/0.6615, allocations: 4.336 MB / 1.378 GB, free: 28.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches