Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [: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 9.1.1-maint.9.1.x/package.mo): time 1.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009444/0.0009444, allocations: 189.2 kB / 487 MB, free: 5.289 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 89.22 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1901, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5294/0.7195, allocations: 149.5 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.7198, allocations: 74.67 kB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007085/0.7269, allocations: 2.789 MB / 1.354 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.7269, allocations: 3.531 kB / 1.354 GB, free: 15.73 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004413/0.7274, allocations: 449.3 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.7274, allocations: 10.44 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.7275, allocations: 22.78 kB / 1.355 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7276, allocations: 190.5 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7276, allocations: 14.03 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.7276, allocations: 11.12 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002373/0.7279, allocations: 118.2 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.7281, allocations: 152.7 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.7282, allocations: 3.906 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7282, allocations: 0 / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7282, allocations: 5.406 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.7289, allocations: 0.5381 MB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.7291, allocations: 128.8 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.7292, allocations: 51.55 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.7292, allocations: 1.688 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.7293, allocations: 32.56 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.7293, allocations: 0 / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002513/0.7295, allocations: 117.3 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.7295, allocations: 53.53 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.7296, allocations: 156.9 kB / 1.356 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.7297, allocations: 25.7 kB / 1.356 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.7297, allocations: 122.8 kB / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.7298, allocations: 35.27 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.7298, allocations: 0 / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.492e-05/0.7298, allocations: 322.1 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.7299, allocations: 33.94 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.7299, allocations: 34.56 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.73, allocations: 26.91 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.73, allocations: 4.781 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001789/0.7302, allocations: 123.8 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7302, allocations: 4.75 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7302, allocations: 0.75 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.7302, allocations: 1.578 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.7304, allocations: 29.75 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7304, allocations: 1.094 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.7306, allocations: 21.95 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.7306, allocations: 3.516 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 5.028e-05/0.7306, allocations: 106.8 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.7307, allocations: 14.5 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.7307, allocations: 20.39 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7307, allocations: 2.188 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7307, allocations: 0 / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.7307, allocations: 0.75 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.731, allocations: 238.6 kB / 1.357 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.731, allocations: 3.938 kB / 1.357 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.7311, allocations: 34.16 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.7311, allocations: 8.969 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.7311, allocations: 0.7812 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7311, allocations: 0.8438 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7312, allocations: 3.938 kB / 1.357 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001994/0.7314, allocations: 210 kB / 1.357 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.7314, allocations: 88.84 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.7314, allocations: 5.828 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7316, allocations: 15.94 kB / 1.358 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.7316, allocations: 27.73 kB / 1.358 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7317, allocations: 8.156 kB / 1.358 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.243e-05/0.7317, allocations: 109.6 kB / 1.358 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002502/0.732, allocations: 34.06 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001177/0.7321, allocations: 111.6 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.7323, allocations: 103.1 kB / 1.358 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7323, allocations: 0 / 1.358 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.7324, allocations: 61.2 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.7326, allocations: 9.734 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.7331, allocations: 201.3 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.7333, allocations: 0.7579 MB / 1.359 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.7333, allocations: 0.7188 kB / 1.359 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.004105/0.7374, allocations: 1.68 MB / 1.361 GB, free: 12.32 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches