Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.001247/0.001248, allocations: 195.3 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.31 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3556, allocations: 153 MB / 1.027 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002319/0.358, allocations: 1.02 MB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3591, allocations: 0.9753 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.3592, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.3592, allocations: 11.81 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.3593, allocations: 27.64 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3595, allocations: 67.88 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3597, allocations: 168 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3599, allocations: 84.19 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.36, allocations: 75.69 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3601, allocations: 67.69 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.3602, allocations: 20 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.3602, allocations: 23.94 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.3603, allocations: 31.92 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.3603, allocations: 71.59 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3605, allocations: 219.1 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3605, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3605, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3606, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 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.0006275/0.3612, allocations: 450.9 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3612, allocations: 8.031 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3613, allocations: 28.75 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.3617, allocations: 248 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3617, allocations: 8.375 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3617, allocations: 16.38 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.3621, allocations: 146.6 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3621, allocations: 8.172 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3621, allocations: 7.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3621, allocations: 7.984 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.3624, allocations: 123.8 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.3631, allocations: 472.2 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3634, allocations: 130.5 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3635, allocations: 48.83 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3636, allocations: 3.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3636, allocations: 38.56 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.3636, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005064/0.3641, allocations: 173.3 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3642, allocations: 55.41 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3643, allocations: 155.4 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3643, allocations: 29.7 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.3644, allocations: 124.2 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3644, allocations: 31.56 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.3645, allocations: 37.7 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3646, allocations: 326.8 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3647, allocations: 43.95 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3649, allocations: 74.08 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.3652, allocations: 111.7 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3652, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003417/0.3655, allocations: 153.4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3656, allocations: 4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3656, allocations: 0 / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3656, allocations: 4 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3658, allocations: 31.91 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3658, allocations: 0 / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.3659, allocations: 23.83 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3659, allocations: 8.094 kB / 1.033 GB, free: 11.8 MB / 0.8106 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 0.0001185/0.366, allocations: 131.4 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3661, allocations: 7.906 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.3661, allocations: 16.72 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3661, allocations: 0 / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3661, allocations: 3.984 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3661, allocations: 0 / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3664, allocations: 249.4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3664, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3665, allocations: 19.98 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3665, allocations: 4 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3665, allocations: 0 / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.3665, allocations: 4 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3665, allocations: 0 / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.3669, allocations: 235.3 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.3669, allocations: 96.84 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.367, allocations: 4 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3671, allocations: 11.94 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.3672, allocations: 19.91 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3672, allocations: 4 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.952e-05/0.3673, allocations: 117.1 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.623e-06/0.3673, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002456/0.3675, allocations: 27.94 kB / 1.033 GB, free: 10.77 MB / 0.8106 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 0.00012/0.3676, allocations: 112.2 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.368, allocations: 111.9 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.368, allocations: 0 / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3682, allocations: 68.08 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3684, allocations: 10.03 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.369, allocations: 268.8 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3692, allocations: 0.7162 MB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.3693, allocations: 17.08 kB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.3693, allocations: 19.44 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3694, allocations: 0 / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of Templates: time 0.004117/0.3735, allocations: 1.253 MB / 1.036 GB, free: 8.203 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches