Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.726/1.726, 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.0008564/0.0008564, allocations: 186.3 kB / 490.8 MB, free: 1.926 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.065/1.065, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0008131/0.0008131, allocations: 89.42 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.781e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1692, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.621, allocations: 151.1 MB / 1.359 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.6213, allocations: 78.36 kB / 1.359 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01237/0.6336, allocations: 4.868 MB / 1.364 GB, free: 17.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6337, allocations: 9.625 kB / 1.364 GB, free: 17.11 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007996/0.6345, allocations: 0.5902 MB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.6345, allocations: 9.375 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.6346, allocations: 37.19 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.6347, allocations: 206.5 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.6347, allocations: 10.84 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.6348, allocations: 20.8 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003251/0.6351, allocations: 177.8 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6355, allocations: 247.8 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6355, allocations: 0 / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.6355, allocations: 6.875 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6356, allocations: 5.875 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.6366, allocations: 0.8973 MB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.6369, allocations: 199.7 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.637, allocations: 91.42 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.637, allocations: 2.594 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.6372, allocations: 163.4 kB / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.6372, allocations: 0 / 1.367 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.0003405/0.6376, allocations: 185.9 kB / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.6376, allocations: 113.9 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.6377, allocations: 173.2 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.6378, allocations: 28.17 kB / 1.367 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.6378, allocations: 152.4 kB / 1.367 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.6379, allocations: 55.89 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.6379, allocations: 1.438 kB / 1.367 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.638, allocations: 330.5 kB / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6381, allocations: 75.7 kB / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6383, allocations: 119.1 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.6385, allocations: 78.2 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6385, allocations: 5.156 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004757/0.639, allocations: 252.2 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.639, allocations: 7.781 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.639, allocations: 5.219 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6391, allocations: 2.406 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.6394, allocations: 68.59 kB / 1.368 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6394, allocations: 2.938 kB / 1.368 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.6398, allocations: 94.02 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.6398, allocations: 11.12 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.659e-05/0.6399, allocations: 122.5 kB / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.6399, allocations: 18.83 kB / 1.368 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.64, allocations: 18.14 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.64, allocations: 3.797 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.64, allocations: 6.125 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.64, allocations: 1.5 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.6402, allocations: 292.6 kB / 1.369 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6402, allocations: 0 / 1.369 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.6405, allocations: 71.2 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6405, allocations: 6.688 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.6406, allocations: 3.812 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6406, allocations: 2.062 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6406, allocations: 4.969 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002896/0.6409, allocations: 244 kB / 1.369 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.6409, allocations: 95.58 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.6409, allocations: 2.625 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.6412, allocations: 41.17 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.6413, allocations: 34.97 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.6413, allocations: 15.45 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.452e-05/0.6414, allocations: 129.9 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000256/0.6417, allocations: 64.41 kB / 1.369 GB, free: 30.14 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: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001266/0.6418, allocations: 119.6 kB / 1.37 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.6421, allocations: 218 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.6421, allocations: 0 / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6423, allocations: 116.5 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.6426, allocations: 38.75 kB / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.6432, allocations: 316.3 kB / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.6435, allocations: 0.7966 MB / 1.371 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6436, allocations: 0 / 1.371 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.005993/0.6496, allocations: 3.4 MB / 1.374 GB, free: 28.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches