Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.001354/0.001354, allocations: 77.7 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.001514/0.001514, allocations: 157.9 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.436/1.436, 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.906/2.906, 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.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") [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.002094/0.002094, allocations: 59.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9755/0.9776, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002923/0.9805, allocations: 1.261 MB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.9823, allocations: 1.339 MB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.9824, allocations: 3.781 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.723e-05/0.9825, allocations: 30.52 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.9826, allocations: 44 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.9832, allocations: 230.6 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.9836, allocations: 378.7 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.9838, allocations: 125.9 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.984, allocations: 145.9 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.9842, allocations: 156.7 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.9843, allocations: 40.09 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.9844, allocations: 51.86 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.9844, allocations: 79.19 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.9846, allocations: 133.4 kB / 1.191 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.9852, allocations: 483.5 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9852, allocations: 4 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9852, allocations: 0 / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.9852, allocations: 0 / 1.191 GB, free: 13.51 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001096/0.9863, allocations: 0.5649 MB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9864, allocations: 10.05 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.9865, allocations: 39.52 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.9873, allocations: 293.1 kB / 1.192 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.9874, allocations: 23.45 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.9874, allocations: 30 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.9881, allocations: 316.9 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.9881, allocations: 9.688 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.9881, allocations: 9.875 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.9881, allocations: 7.203 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.9888, allocations: 224.2 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.9898, allocations: 0.8381 MB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.9903, allocations: 195.7 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.9906, allocations: 97.72 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.9907, allocations: 7.281 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.9912, allocations: 179.1 kB / 1.194 GB, free: 11.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.9912, allocations: 0 / 1.194 GB, free: 11.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.001058/0.9922, allocations: 321.4 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.9923, allocations: 108.2 kB / 1.194 GB, free: 11.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.9925, allocations: 228.9 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.9925, allocations: 32.8 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.9926, allocations: 179.5 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.9926, allocations: 61.05 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.9928, allocations: 80.66 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.9928, allocations: 341.8 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.9932, allocations: 128.2 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.9936, allocations: 228.1 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.9942, allocations: 304.7 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9942, allocations: 1.094 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009509/0.9952, allocations: 403 kB / 1.196 GB, free: 10.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.9952, allocations: 38.88 kB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.9952, allocations: 7.312 kB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.9953, allocations: 17.05 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.9956, allocations: 49.34 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.9956, allocations: 5.75 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.9959, allocations: 58.58 kB / 1.196 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.996, allocations: 29.61 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001349/0.9961, allocations: 154.1 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.9961, allocations: 23 kB / 1.196 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.9962, allocations: 29.53 kB / 1.196 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9962, allocations: 3.188 kB / 1.196 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9962, allocations: 1.094 kB / 1.196 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9962, allocations: 2.281 kB / 1.196 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.9965, allocations: 224.6 kB / 1.197 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9965, allocations: 1.375 kB / 1.197 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.9967, allocations: 40.27 kB / 1.197 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.9967, allocations: 2.719 kB / 1.197 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.9967, allocations: 3.562 kB / 1.197 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9967, allocations: 5.344 kB / 1.197 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9967, allocations: 5 kB / 1.197 GB, free: 9.605 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.9974, allocations: 272.8 kB / 1.197 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.9975, allocations: 18.86 kB / 1.197 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.9975, allocations: 7.094 kB / 1.197 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.9977, allocations: 19.86 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.9978, allocations: 41.81 kB / 1.197 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.9978, allocations: 9.766 kB / 1.197 GB, free: 9.426 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001056/0.9979, allocations: 146.2 kB / 1.197 GB, free: 9.332 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9979, allocations: 5.219 kB / 1.197 GB, free: 9.328 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003425/0.9982, allocations: 65.19 kB / 1.197 GB, free: 9.309 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001386/0.9984, allocations: 111.2 kB / 1.197 GB, free: 9.211 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.9992, allocations: 333.4 kB / 1.198 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9992, allocations: 0 / 1.198 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.9996, allocations: 109.6 kB / 1.198 GB, free: 9.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.9999, allocations: 43.05 kB / 1.198 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/1.001, allocations: 467.9 kB / 1.198 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/1.001, allocations: 152.9 kB / 1.198 GB, free: 8.613 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001465/1.001, allocations: 35.59 kB / 1.198 GB, free: 8.605 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/1.001, allocations: 31.78 kB / 1.199 GB, free: 8.594 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.001, allocations: 0 / 1.199 GB, free: 8.594 MB / 1.076 GB Notification: Performance of Templates: time 0.008388/1.009, allocations: 3.26 MB / 1.202 GB, free: 8.254 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.0855291869957]