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.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009728, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12 kB / 0.8708 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8383, allocations: 153.6 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00133/0.8396, allocations: 0.6868 MB / 1.022 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.8408, allocations: 0.9559 MB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.8409, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.841, allocations: 7.922 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.8411, allocations: 19.91 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.8413, allocations: 47.89 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.8414, allocations: 87.78 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.8416, allocations: 76.66 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.8418, allocations: 39.84 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.8419, allocations: 55.69 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.8419, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.8419, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.8419, allocations: 15.92 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.842, allocations: 49.58 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.8422, allocations: 149.6 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8422, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8422, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8422, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006179/0.8428, allocations: 427 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8429, allocations: 11.98 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.8429, allocations: 23.8 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.8434, allocations: 251 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.8434, allocations: 20.23 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.8435, allocations: 12 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.8438, allocations: 147.8 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8438, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.8439, allocations: 8 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.8439, allocations: 7.984 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.8442, allocations: 124.7 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.8449, allocations: 472.3 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.8452, allocations: 110.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.8452, allocations: 7.922 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8452, allocations: 34.56 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.8452, allocations: 4 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005611/0.8458, allocations: 189.6 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.8459, allocations: 51.41 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.846, allocations: 154.9 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.846, allocations: 25.7 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.8461, allocations: 123.7 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.8462, allocations: 27.56 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.8462, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8463, allocations: 322.8 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.8465, allocations: 51.95 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.8466, allocations: 75.34 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.8468, allocations: 51.97 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8468, allocations: 3.953 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003628/0.8472, allocations: 161.3 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.8472, allocations: 7.938 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8472, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8472, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.8474, allocations: 36 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8474, allocations: 4 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.866e-05/0.8475, allocations: 15.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.8476, allocations: 4 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001197/0.8477, allocations: 131.2 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.8477, allocations: 19.77 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.8478, allocations: 8.719 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.8478, allocations: 8 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8478, allocations: 3.938 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8478, allocations: 3.984 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.8481, allocations: 225.6 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8481, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8482, allocations: 27.92 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8482, allocations: 0 / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.8482, allocations: 8 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8482, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8482, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.8486, allocations: 235.3 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.8487, allocations: 92.92 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.8487, allocations: 11.89 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.8488, allocations: 11.98 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.8489, allocations: 19.97 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.8489, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.849, allocations: 110.3 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.849, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002466/0.8493, allocations: 23.94 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001511/0.8494, allocations: 111.2 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.8498, allocations: 120 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8498, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.85, allocations: 68.72 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.8502, allocations: 8 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.8508, allocations: 298.6 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.8511, allocations: 0.7239 MB / 1.028 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.17e-05/0.8512, allocations: 16.64 kB / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.8512, allocations: 15.44 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.8512, allocations: 3.938 kB / 1.028 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003723/0.855, allocations: 1.036 MB / 1.029 GB, free: 8.277 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches