Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001907/0.001907, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.002155/0.002155, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.521/1.521, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.955/2.955, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003112/0.003112, allocations: 59.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9635/0.9667, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002075/0.9687, allocations: 0.9752 MB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.9697, allocations: 1.002 MB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.9698, allocations: 2.156 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.9699, allocations: 18.52 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.97, allocations: 32.59 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.9702, allocations: 71.19 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.9704, allocations: 161.6 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.9705, allocations: 65.27 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.9707, allocations: 72.75 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.9708, allocations: 67.31 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.9708, allocations: 17.06 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.9709, allocations: 23.77 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.9709, allocations: 38.45 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.971, allocations: 56.05 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.9713, allocations: 223.4 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9713, allocations: 0 / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9713, allocations: 0.9062 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9713, allocations: 0 / 1.189 GB, free: 14.45 MB / 1.076 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.0005775/0.9718, allocations: 373.7 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.9719, allocations: 9.938 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.972, allocations: 29.91 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.9724, allocations: 196.3 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.9725, allocations: 9.844 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.9725, allocations: 18 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.9728, allocations: 149.2 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9728, allocations: 192 / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.9728, allocations: 9.031 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9728, allocations: 3.5 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.9732, allocations: 118 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.9737, allocations: 379.2 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.974, allocations: 113.6 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.9741, allocations: 52.75 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.9742, allocations: 2.312 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.9742, allocations: 36.25 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.9742, allocations: 1.125 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.000565/0.9747, allocations: 176.9 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.9748, allocations: 57.38 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.9749, allocations: 153.8 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.9749, allocations: 29.7 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.9749, allocations: 121.9 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.975, allocations: 42.3 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.975, allocations: 35.86 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.526e-05/0.9751, allocations: 326 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.9752, allocations: 40.55 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.9754, allocations: 71.73 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.9757, allocations: 117 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9757, allocations: 1.25 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003639/0.976, allocations: 162.8 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.976, allocations: 6.938 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.976, allocations: 1.5 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9761, allocations: 2.094 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.9762, allocations: 28.28 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9762, allocations: 2.469 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.9763, allocations: 14.16 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9764, allocations: 9.094 kB / 1.192 GB, free: 12.41 MB / 1.076 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 7.503e-05/0.9764, allocations: 135.2 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.9765, allocations: 13.16 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.9765, allocations: 17.06 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9765, allocations: 1.312 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9765, allocations: 6.203 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9765, allocations: 0 / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.9767, allocations: 160.2 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9767, allocations: 0 / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.9768, allocations: 24.44 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9768, allocations: 2.266 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.9768, allocations: 8.453 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9768, allocations: 1.375 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.9768, allocations: 0 / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.9772, allocations: 245.9 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.9772, allocations: 12.3 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.9772, allocations: 1.953 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.9773, allocations: 10.97 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.9774, allocations: 17.77 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.9774, allocations: 3.938 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.9775, allocations: 112.5 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9775, allocations: 0 / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002578/0.9777, allocations: 23.17 kB / 1.193 GB, free: 11.81 MB / 1.076 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 8.747e-05/0.9778, allocations: 107.8 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.9782, allocations: 110.7 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9782, allocations: 0 / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.9784, allocations: 59.67 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.9787, allocations: 21.09 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.9792, allocations: 277.6 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.9793, allocations: 101.6 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.881e-05/0.9793, allocations: 20.88 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.9794, allocations: 27.05 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.9794, allocations: 0 / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of Templates: time 0.004384/0.9838, allocations: 1.252 MB / 1.195 GB, free: 11.23 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.193602762999944]