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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008061/0.008061, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001634/0.001633, allocations: 197.4 kB / 16.67 MB, free: 5.969 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.609/1.609, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.912/2.912, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4478, allocations: 157.4 MB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002761/0.4506, allocations: 1.006 MB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.452, allocations: 0.9835 MB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.4521, allocations: 0 / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.005e-05/0.4522, allocations: 15.8 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.4524, allocations: 23.73 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.4526, allocations: 59.94 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4528, allocations: 164 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.453, allocations: 92.16 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.4532, allocations: 67.72 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.4533, allocations: 75.67 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4534, allocations: 20 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.4534, allocations: 19.94 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.4534, allocations: 39.84 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.4535, allocations: 71.61 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.4538, allocations: 219.2 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4538, allocations: 0 / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4538, allocations: 3.938 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4538, allocations: 0 / 1.211 GB, free: 6.703 MB / 0.9669 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.0007289/0.4546, allocations: 450.9 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4546, allocations: 8.625 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.4547, allocations: 24.66 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.4551, allocations: 250.1 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4552, allocations: 8.375 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.4552, allocations: 16.38 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.4556, allocations: 158.5 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4556, allocations: 192 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4556, allocations: 11.88 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4556, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.456, allocations: 115.9 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.4568, allocations: 484 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.4571, allocations: 122.6 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.4573, allocations: 56.75 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4573, allocations: 4 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4573, allocations: 38.5 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4574, allocations: 4 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006031/0.458, allocations: 165.5 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.458, allocations: 51.41 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4582, allocations: 160.8 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.4583, allocations: 25.7 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4584, allocations: 128.1 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4584, allocations: 31.56 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.4585, allocations: 41.69 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4587, allocations: 326.8 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4588, allocations: 43.97 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.459, allocations: 75.33 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.4593, allocations: 103.8 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4593, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003866/0.4597, allocations: 165.2 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4598, allocations: 4 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4598, allocations: 3.984 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4598, allocations: 4 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.46, allocations: 23.98 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.46, allocations: 7.938 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.4601, allocations: 15.92 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4601, allocations: 8.094 kB / 1.214 GB, free: 3.375 MB / 0.9669 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.0001499/0.4603, allocations: 129.8 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.4603, allocations: 11.81 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.4604, allocations: 20.7 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4604, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4604, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4604, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.4607, allocations: 237.5 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4607, allocations: 4 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.4608, allocations: 19.92 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4608, allocations: 4 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.4609, allocations: 7.984 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4609, allocations: 3.938 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4609, allocations: 4 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.4613, allocations: 239.2 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.4614, allocations: 88.95 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4614, allocations: 0 / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4615, allocations: 11.98 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4616, allocations: 15.98 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4616, allocations: 4 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001022/0.4617, allocations: 113.4 kB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4618, allocations: 0 / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003311/0.4621, allocations: 27.91 kB / 1.214 GB, free: 2.355 MB / 0.9669 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.0001767/0.4623, allocations: 107.2 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.4628, allocations: 119.8 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4628, allocations: 0 / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4629, allocations: 64.14 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.4633, allocations: 8 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.4641, allocations: 280.8 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4645, allocations: 0.7162 MB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.4646, allocations: 21.06 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.4647, allocations: 15.44 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.4647, allocations: 0 / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of Templates: time 0.004632/0.4693, allocations: 1.284 MB / 1.217 GB, free: 15.74 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches