Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01131/0.01132, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.002394/0.002394, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 62.83 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3731, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002254/0.3754, allocations: 0.9915 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3765, allocations: 0.9674 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.3766, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.3767, allocations: 15.8 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3768, allocations: 31.73 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3771, allocations: 63.88 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3773, allocations: 163.6 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.3775, allocations: 86.23 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3777, allocations: 71.69 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3778, allocations: 75.69 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3778, allocations: 16 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.3779, allocations: 16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.3779, allocations: 31.86 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.378, allocations: 71.66 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3783, allocations: 207.1 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3783, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3783, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.3783, allocations: 3.938 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007089/0.379, allocations: 451.2 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3791, allocations: 8.031 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.3791, allocations: 16.75 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3796, allocations: 252.2 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3796, allocations: 12.66 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3796, allocations: 12.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.38, allocations: 151.9 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.38, allocations: 0 / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.38, allocations: 4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.38, allocations: 4 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.3803, allocations: 108.8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.381, allocations: 472 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.3813, allocations: 106.6 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3815, allocations: 56.88 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3815, allocations: 3.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3816, allocations: 38.56 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3816, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005573/0.3821, allocations: 157.5 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3822, allocations: 51.41 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3823, allocations: 162.6 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3824, allocations: 25.7 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3824, allocations: 131.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3825, allocations: 27.56 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.3826, allocations: 37.7 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3827, allocations: 322.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3829, allocations: 39.97 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.383, allocations: 83.33 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3833, allocations: 107.2 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3833, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003477/0.3837, allocations: 153.4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3837, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3837, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3837, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3839, allocations: 19.98 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3839, allocations: 7.938 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.384, allocations: 15.98 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.384, allocations: 8.031 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001063/0.3841, allocations: 129.8 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3842, allocations: 11.81 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.3842, allocations: 16.66 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3842, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3843, allocations: 3.938 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3843, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3845, allocations: 237.5 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3845, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3847, allocations: 23.92 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3847, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3847, allocations: 7.984 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3847, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3847, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3851, allocations: 231.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.3851, allocations: 88.92 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3852, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3853, allocations: 7.984 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.3853, allocations: 19.92 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3854, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.746e-05/0.3854, allocations: 119.2 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3854, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002466/0.3857, allocations: 19.94 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001359/0.3858, allocations: 115.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3862, allocations: 103.9 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3862, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3864, allocations: 64.14 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3867, allocations: 14.83 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.3873, allocations: 264.7 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3876, allocations: 0.7162 MB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.89e-05/0.3877, allocations: 16.64 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.3877, allocations: 23.36 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3877, allocations: 0 / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.003913/0.3917, allocations: 1.237 MB / 1.097 GB, free: 7.902 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches