Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.8 MB / 0.7714 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.7 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002539/0.3622, allocations: 1.026 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3638, allocations: 1.022 MB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3639, allocations: 0 / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.18e-05/0.364, allocations: 19.73 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3641, allocations: 23.81 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3644, allocations: 67.86 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3646, allocations: 164 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3648, allocations: 66.16 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.365, allocations: 79.7 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3652, allocations: 79.61 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3652, allocations: 16 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.3653, allocations: 20 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3653, allocations: 35.86 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3655, allocations: 75.59 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.3658, allocations: 223 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3658, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3658, allocations: 3.938 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3658, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 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.0007048/0.3665, allocations: 377.6 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3666, allocations: 8.031 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3667, allocations: 32.83 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.3671, allocations: 190.1 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.3672, allocations: 12.38 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3672, allocations: 16.38 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.3675, allocations: 150 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3675, allocations: 192 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.3676, allocations: 7.938 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.3676, allocations: 11.94 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.3679, allocations: 111.9 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.3686, allocations: 447.3 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.369, allocations: 114.6 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3691, allocations: 52.81 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3691, allocations: 3.984 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3692, allocations: 34.5 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.3692, allocations: 4 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005514/0.3697, allocations: 173.5 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3698, allocations: 51.41 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3699, allocations: 154.4 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.37, allocations: 33.7 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.3701, allocations: 120.3 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3701, allocations: 31.75 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.3702, allocations: 37.69 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3704, allocations: 334.8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3705, allocations: 35.97 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3707, allocations: 83.2 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3709, allocations: 107.4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3709, allocations: 0 / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.3713, allocations: 157.5 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3713, allocations: 8 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3713, allocations: 0 / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3713, allocations: 4 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3715, allocations: 23.97 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3715, allocations: 4 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.3716, allocations: 15.88 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3716, allocations: 11.94 kB / 1.29 GB, free: 5.164 MB / 0.9825 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.0001272/0.3717, allocations: 137 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.3718, allocations: 7.953 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.3718, allocations: 20.7 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3718, allocations: 0 / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3718, allocations: 0 / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3718, allocations: 4 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.3721, allocations: 220.5 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3721, allocations: 0 / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3722, allocations: 15.98 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3723, allocations: 7.938 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3723, allocations: 4 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3723, allocations: 0 / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3723, allocations: 3.938 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.3727, allocations: 235.8 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.3727, allocations: 11.91 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3727, allocations: 4 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3728, allocations: 15.98 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.3729, allocations: 11.98 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3729, allocations: 7.984 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.373, allocations: 111.2 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002549/0.3732, allocations: 23.94 kB / 1.291 GB, free: 4.273 MB / 0.9825 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.00016/0.3734, allocations: 115.2 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.3738, allocations: 103.9 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3738, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3739, allocations: 55.95 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3743, allocations: 12.19 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.3749, allocations: 306.5 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3753, allocations: 0.7123 MB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3754, allocations: 31.41 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3754, allocations: 0 / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.003779/0.3791, allocations: 1.703 MB / 1.294 GB, free: 1.191 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.161444274999667]