Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesFanVVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009906/0.009906, allocations: 97.78 kB / 15.73 MB, free: 5.996 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.002164/0.002164, allocations: 186 kB / 16.67 MB, free: 5.926 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.98/2.98, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3632, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002449/0.3657, allocations: 0.9976 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.367, allocations: 0.9752 MB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.3671, allocations: 0 / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.533e-05/0.3671, allocations: 15.8 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3673, allocations: 27.78 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3675, allocations: 63.88 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3678, allocations: 155.7 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.3681, allocations: 84.19 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3682, allocations: 63.72 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3684, allocations: 79.61 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3684, allocations: 16 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.3684, allocations: 16 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.3685, allocations: 31.91 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.3686, allocations: 71.61 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3688, allocations: 207.1 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3688, allocations: 0 / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3688, allocations: 4 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3689, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 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.0006938/0.3696, allocations: 455 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3696, allocations: 8.031 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3697, allocations: 16.84 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.3701, allocations: 254.9 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3702, allocations: 16.66 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3702, allocations: 16.38 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.3705, allocations: 140.4 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3705, allocations: 192 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3706, allocations: 11.94 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3706, allocations: 4 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.3709, allocations: 120.7 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.3716, allocations: 468.3 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3719, allocations: 110.5 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3721, allocations: 48.89 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3721, allocations: 4 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3721, allocations: 38.5 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.3722, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005466/0.3727, allocations: 169.5 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3728, allocations: 51.41 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3729, allocations: 156.8 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3729, allocations: 33.64 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.373, allocations: 131.8 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3731, allocations: 27.75 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.3732, allocations: 45.69 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3733, allocations: 318.8 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3735, allocations: 43.95 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3737, allocations: 67.41 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.374, allocations: 111.3 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.374, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003588/0.3744, allocations: 149.5 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3744, allocations: 4 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3744, allocations: 3.938 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3744, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3746, allocations: 28.06 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3746, allocations: 4 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3747, allocations: 19.88 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3748, allocations: 4 kB / 1.172 GB, free: 0.7266 MB / 0.92 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.0001554/0.3749, allocations: 129.7 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.375, allocations: 11.95 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.375, allocations: 12.72 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.375, allocations: 8 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.375, allocations: 0 / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3751, allocations: 3.984 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.3753, allocations: 233.5 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3753, allocations: 0 / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3754, allocations: 19.97 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3755, allocations: 4 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3755, allocations: 4 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3755, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3755, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3759, allocations: 239.7 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.3759, allocations: 88.95 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.376, allocations: 12 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3761, allocations: 7.984 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.3762, allocations: 15.98 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3762, allocations: 3.984 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.033e-05/0.3763, allocations: 117.5 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3763, allocations: 4 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002368/0.3765, allocations: 19.95 kB / 1.173 GB, free: 15.72 MB / 0.9356 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.0001545/0.3767, allocations: 107.2 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.3771, allocations: 112 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3771, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3772, allocations: 63.83 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3776, allocations: 15.86 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.3782, allocations: 264.3 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3785, allocations: 0.7162 MB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.3786, allocations: 20.62 kB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.3786, allocations: 15.44 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3787, allocations: 0 / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.004253/0.3829, allocations: 1.232 MB / 1.176 GB, free: 13.17 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches