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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001918/0.001918, allocations: 196 kB / 16.14 MB, free: 6.711 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.89 kB / 0.8985 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003149/0.354, allocations: 1.062 MB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3553, allocations: 0.9714 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3555, allocations: 4 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.789e-05/0.3555, allocations: 7.875 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3557, allocations: 11.86 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.3559, allocations: 55.95 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3561, allocations: 152.1 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3564, allocations: 100 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3565, allocations: 59.66 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3567, allocations: 75.61 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.3567, allocations: 8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.3567, allocations: 8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.3568, allocations: 27.91 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.3569, allocations: 63.61 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3571, allocations: 203.5 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3571, allocations: 4 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3571, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3571, allocations: 0 / 1.055 GB, free: 5.98 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.000756/0.3579, allocations: 448.3 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3579, allocations: 8.031 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.358, allocations: 16.75 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.3585, allocations: 259.9 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3585, allocations: 8.375 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.3586, allocations: 12.38 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3589, allocations: 159 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.359, allocations: 192 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.359, allocations: 11.94 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.359, allocations: 4 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3593, allocations: 119.9 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.3601, allocations: 484.1 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3604, allocations: 118.6 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3606, allocations: 52.81 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3606, allocations: 4 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3606, allocations: 34.56 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3606, allocations: 4 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005719/0.3612, allocations: 181.3 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3613, allocations: 51.41 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3614, allocations: 156.2 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3615, allocations: 25.7 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.3616, allocations: 120.2 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3616, allocations: 35.55 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.3617, allocations: 45.69 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3618, allocations: 322.8 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.362, allocations: 43.97 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3622, allocations: 71.39 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3625, allocations: 111.7 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3625, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003681/0.3629, allocations: 157.3 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3629, allocations: 7.938 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3629, allocations: 7.984 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3629, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.3631, allocations: 23.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3631, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3632, allocations: 23.83 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3632, allocations: 8.094 kB / 1.058 GB, free: 2.652 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.0001224/0.3634, allocations: 140.7 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3634, allocations: 11.91 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3635, allocations: 16.7 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3635, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3635, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3635, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3638, allocations: 233.4 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3638, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3639, allocations: 19.98 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3639, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3639, allocations: 11.98 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.364, allocations: 0 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.364, allocations: 4 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.3643, allocations: 235.3 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3644, allocations: 92.8 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3644, allocations: 4 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3645, allocations: 7.984 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.3646, allocations: 15.98 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3647, allocations: 7.984 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.787e-05/0.3647, allocations: 113.3 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 0 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002518/0.365, allocations: 20 kB / 1.059 GB, free: 1.641 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.0001468/0.3652, allocations: 111.2 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.3655, allocations: 107.9 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3655, allocations: 0 / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3657, allocations: 68.08 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.366, allocations: 8 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3666, allocations: 330.2 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3669, allocations: 0.7126 MB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.94e-05/0.367, allocations: 21.06 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.3671, allocations: 23.42 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3671, allocations: 0 / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of Templates: time 0.003989/0.3711, allocations: 1.108 MB / 1.061 GB, free: 15.15 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/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