Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001836/0.001836, allocations: 110.2 kB / 19.69 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.002311/0.002311, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002061/0.002061, allocations: 70.8 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003585/0.3183, allocations: 1.018 MB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3203, allocations: 1.026 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3204, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.266e-05/0.3205, allocations: 19.8 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.3207, allocations: 23.75 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3211, allocations: 63.88 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.3213, allocations: 168 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.3216, allocations: 68.55 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3219, allocations: 79.7 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.322, allocations: 75.62 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.322, allocations: 16 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.3221, allocations: 28 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.3222, allocations: 35.91 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.3223, allocations: 71.59 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.3227, allocations: 211.1 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3227, allocations: 4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3227, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3227, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 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.0007288/0.3234, allocations: 377.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3234, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3236, allocations: 32.83 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.324, allocations: 203.5 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3241, allocations: 8.375 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3241, allocations: 12.38 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.3244, allocations: 150 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3244, allocations: 4.188 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.3245, allocations: 15.92 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3245, allocations: 4 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.3248, allocations: 119.9 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.3255, allocations: 435.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3258, allocations: 122.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.326, allocations: 48.83 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.326, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.326, allocations: 34.56 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.326, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005474/0.3266, allocations: 181.4 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3266, allocations: 51.41 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3267, allocations: 160.9 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3268, allocations: 25.7 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.3269, allocations: 124.3 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3269, allocations: 35.72 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.327, allocations: 45.7 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3271, allocations: 322.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3272, allocations: 43.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3274, allocations: 79.27 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3277, allocations: 107.3 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3277, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003557/0.328, allocations: 157.5 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3281, allocations: 8 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3281, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3281, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3282, allocations: 27.92 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3282, allocations: 3.938 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.3283, allocations: 19.94 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3283, allocations: 4 kB / 1.333 GB, free: 11.46 MB / 1.029 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.0001232/0.3285, allocations: 138.3 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3285, allocations: 19.94 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.3285, allocations: 12.72 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3286, allocations: 4 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3286, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3286, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3288, allocations: 208.5 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3288, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3289, allocations: 19.98 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3289, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.329, allocations: 11.98 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.329, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.329, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3293, allocations: 231.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.3294, allocations: 23.89 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3294, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3295, allocations: 7.984 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.3296, allocations: 23.97 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3296, allocations: 4 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.3297, allocations: 109.3 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3297, allocations: 0 / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002511/0.3299, allocations: 23.94 kB / 1.334 GB, free: 10.57 MB / 1.029 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.0001274/0.33, allocations: 111.2 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.3304, allocations: 111.9 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3304, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3306, allocations: 51.91 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3309, allocations: 28.11 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.3315, allocations: 302.6 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3319, allocations: 0.7123 MB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.3319, allocations: 27.42 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3319, allocations: 3.938 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of Templates: time 0.004096/0.336, allocations: 1.697 MB / 1.337 GB, free: 7.473 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.998009047005326]