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.001932/0.001932, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002262/0.002262, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.793 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.437/3.437, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.002067/0.002067, allocations: 63.62 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002507/0.3727, allocations: 0.961 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3742, allocations: 1.003 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.3742, allocations: 4 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.965e-05/0.3743, allocations: 19.73 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3744, allocations: 23.8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3747, allocations: 63.88 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.3749, allocations: 164 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3751, allocations: 64.55 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3753, allocations: 79.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3754, allocations: 75.61 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.3755, allocations: 16 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.3755, allocations: 20 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.3756, allocations: 39.8 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.3756, allocations: 55.72 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.3759, allocations: 219.1 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3759, allocations: 3.938 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3759, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.376, allocations: 0 / 1.328 GB, free: 15.06 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.0007059/0.3767, allocations: 381.6 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3767, allocations: 12.03 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3769, allocations: 32.77 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3773, allocations: 187 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3773, allocations: 12.38 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3774, allocations: 20.36 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3777, allocations: 146 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3777, allocations: 4.188 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3778, allocations: 7.938 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3778, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.3781, allocations: 115.9 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.3788, allocations: 384 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3791, allocations: 110.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3793, allocations: 56.77 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3793, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3793, allocations: 38.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.3793, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005765/0.3799, allocations: 169.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.38, allocations: 55.41 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3801, allocations: 168.3 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3802, allocations: 25.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.3802, allocations: 116.4 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3803, allocations: 31.73 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.3804, allocations: 41.66 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3805, allocations: 322.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.3807, allocations: 51.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3808, allocations: 77.86 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3811, allocations: 115.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3812, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004336/0.3816, allocations: 153.5 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3816, allocations: 8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3816, allocations: 3.938 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3816, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3818, allocations: 31.91 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3818, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.3819, allocations: 11.89 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3819, allocations: 7.984 kB / 1.331 GB, free: 12.01 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.0001337/0.382, allocations: 140.4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.3821, allocations: 7.953 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3821, allocations: 16.72 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3821, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3821, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3821, allocations: 3.984 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3823, allocations: 165.1 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3823, allocations: 3.984 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3825, allocations: 23.92 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3825, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3825, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3825, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3825, allocations: 8 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.3829, allocations: 231.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.3829, allocations: 11.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.383, allocations: 3.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3831, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.3832, allocations: 19.97 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3832, allocations: 8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.3833, allocations: 107.2 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002666/0.3835, allocations: 31.89 kB / 1.332 GB, free: 11.17 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.0001254/0.3836, allocations: 108.9 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.3841, allocations: 104 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3841, allocations: 4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3843, allocations: 55.95 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3846, allocations: 19.38 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.3852, allocations: 282.7 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3853, allocations: 111.2 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.62e-05/0.3854, allocations: 17.08 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3855, allocations: 19.44 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3855, allocations: 3.938 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Templates: time 0.005001/0.3905, allocations: 1.339 MB / 1.334 GB, free: 9.125 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/jenkins/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: 9.490342032164335]