Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9425/0.9425, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.058/2.058, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.79e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001807/0.001834, allocations: 1.025 MB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.002777, allocations: 1.028 MB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.002829, allocations: 4 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.002866, allocations: 19.73 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.002956, allocations: 28.83 kB / 0.8803 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.00314, allocations: 68.45 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003264, allocations: 164.1 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.00338, allocations: 61.25 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.003579, allocations: 116.5 kB / 0.8807 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.003641, allocations: 51.81 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.003661, allocations: 13.22 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.0037, allocations: 20 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.003721, allocations: 31.91 kB / 0.8808 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.003755, allocations: 40.88 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003895, allocations: 115.5 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003898, allocations: 4 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003899, allocations: 1.125 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.748e-06/0.003903, allocations: 3.938 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004068/0.00431, allocations: 473 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.004342, allocations: 8.031 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.004454, allocations: 33.91 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.004607, allocations: 173.1 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.004626, allocations: 12.38 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.004641, allocations: 15.47 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004826, allocations: 131.8 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004832, allocations: 192 / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.004846, allocations: 4.375 kB / 0.8817 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.004854, allocations: 4.375 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.004946, allocations: 60.89 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.005356, allocations: 428.7 kB / 0.8822 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.005488, allocations: 83.12 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.005527, allocations: 40.17 kB / 0.8823 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.00554, allocations: 5.609 kB / 0.8823 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.00556, allocations: 37.39 kB / 0.8824 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.005561, allocations: 0 / 0.8824 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0001845/0.005745, allocations: 109.5 kB / 0.8825 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.005775, allocations: 56.34 kB / 0.8825 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.005892, allocations: 219.1 kB / 0.8827 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.005906, allocations: 29.7 kB / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.005967, allocations: 167.6 kB / 0.8829 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.005995, allocations: 33.34 kB / 0.883 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.006041, allocations: 47.3 kB / 0.883 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.006159, allocations: 0.4962 MB / 0.8835 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.00619, allocations: 12 kB / 0.8835 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.006242, allocations: 65.67 kB / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.006322, allocations: 70.69 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006324, allocations: 0 / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000124/0.006448, allocations: 109.4 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.006461, allocations: 11.98 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.006464, allocations: 96 / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006474, allocations: 4 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.006565, allocations: 31.92 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.00657, allocations: 0 / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.006608, allocations: 15.89 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.006615, allocations: 4 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.006693, allocations: 172.6 kB / 0.884 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.006716, allocations: 19.83 kB / 0.884 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.00674, allocations: 12.78 kB / 0.884 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.006743, allocations: 8 kB / 0.884 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006746, allocations: 0 / 0.884 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.006748, allocations: 0 / 0.884 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.006891, allocations: 172.5 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006892, allocations: 0 / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.006936, allocations: 15.98 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.006939, allocations: 3.938 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006947, allocations: 4 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006948, allocations: 0 / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.00695, allocations: 3.984 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.007107, allocations: 247.8 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007118, allocations: 11.91 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.007131, allocations: 7.938 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.007171, allocations: 4 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.007224, allocations: 15.97 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.007232, allocations: 8 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.007287, allocations: 145.6 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007287, allocations: 0 / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001502/0.007438, allocations: 31.89 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.437e-05/0.007522, allocations: 103.2 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.007644, allocations: 76.17 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007645, allocations: 0 / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.007691, allocations: 43.83 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.007878, allocations: 24.75 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.008373, allocations: 273.2 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.008415, allocations: 71.78 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.008469, allocations: 17.14 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.008511, allocations: 20.5 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.008512, allocations: 0 / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.002979/0.01149, allocations: 1.324 MB / 0.8865 GB, free: 13.5 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.221798449289054]