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.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.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.01032/0.01031, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.002102/0.002102, allocations: 195.4 kB / 16.79 MB, free: 5.809 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.552/1.552, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 66.83 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3602, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002957/0.3632, allocations: 1.067 MB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3647, allocations: 0.9675 MB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3649, allocations: 7.938 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.3649, allocations: 11.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3651, allocations: 7.875 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3654, allocations: 51.95 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3656, allocations: 156 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.3658, allocations: 88.09 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.366, allocations: 59.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3662, allocations: 75.61 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3662, allocations: 12 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.3662, allocations: 8 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.3663, allocations: 23.92 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.3664, allocations: 67.58 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3666, allocations: 163.9 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3666, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3666, allocations: 3.938 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3666, allocations: 7.938 kB / 1.055 GB, free: 5.469 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.0007776/0.3674, allocations: 447 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3674, allocations: 15.97 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.3675, allocations: 20.73 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.368, allocations: 248 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.368, allocations: 16.38 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3681, allocations: 12.38 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3684, allocations: 146 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3685, allocations: 4.188 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3685, allocations: 7.938 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3685, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.3688, allocations: 119.9 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.3696, allocations: 480.1 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.37, allocations: 122.6 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3701, allocations: 56.77 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3702, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3702, allocations: 42.5 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3702, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006074/0.3708, allocations: 173.7 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3709, allocations: 55.34 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3711, allocations: 157.7 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3711, allocations: 29.7 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.3712, allocations: 128.1 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3712, allocations: 31.55 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.3713, allocations: 41.7 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3714, allocations: 326.8 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3716, allocations: 43.97 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3718, allocations: 71.33 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3721, allocations: 111.4 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3721, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003851/0.3725, allocations: 161.3 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3725, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3725, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3725, allocations: 7.984 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3727, allocations: 19.98 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3727, allocations: 7.984 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3728, allocations: 15.84 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3729, allocations: 7.984 kB / 1.058 GB, free: 2.145 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.000129/0.373, allocations: 141.8 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.373, allocations: 7.906 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.3731, allocations: 16.72 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3731, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3731, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3731, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3734, allocations: 241.4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3734, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3735, allocations: 23.97 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.3736, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3736, allocations: 11.94 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3736, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3736, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.374, allocations: 231.3 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.3741, allocations: 96.86 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3741, allocations: 0 / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3742, allocations: 11.98 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3743, allocations: 19.97 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3743, allocations: 8 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.3744, allocations: 113.1 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3744, allocations: 0 / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002803/0.3747, allocations: 24 kB / 1.059 GB, free: 1.125 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.0001621/0.3749, allocations: 107.2 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.3752, allocations: 123.7 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3753, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3754, allocations: 47.97 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3758, allocations: 25.44 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.3765, allocations: 352 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3769, allocations: 0.7126 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.3769, allocations: 15.44 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3769, allocations: 0 / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of Templates: time 0.00384/0.3808, allocations: 1.675 MB / 1.062 GB, free: 14.02 MB / 0.8262 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/jenkins1/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