Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001376/0.001376, allocations: 79.81 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.001432/0.001432, allocations: 157.6 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.866/2.866, allocations: 394.2 MB / 0.6387 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.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [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.002162/0.002162, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002383/1.006, allocations: 0.8469 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001193/1.007, allocations: 0.9178 MB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/1.007, allocations: 2.219 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/1.007, allocations: 17.78 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/1.007, allocations: 10.22 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/1.007, allocations: 65.97 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/1.008, allocations: 139.8 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/1.008, allocations: 46.2 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/1.008, allocations: 49.41 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/1.008, allocations: 59 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/1.008, allocations: 12.28 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/1.008, allocations: 13.03 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/1.008, allocations: 30.48 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/1.008, allocations: 53.7 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/1.008, allocations: 143.7 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.008, allocations: 0.8438 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/1.008, allocations: 0 / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.008, allocations: 0 / 1.189 GB, free: 14.67 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006627/1.009, allocations: 363.6 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.009, allocations: 10.09 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/1.009, allocations: 15.62 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/1.009, allocations: 170.2 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.009, allocations: 10 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/1.009, allocations: 12.47 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/1.01, allocations: 223.9 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.01, allocations: 1.562 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.01, allocations: 9.219 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.01, allocations: 2.625 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/1.01, allocations: 128.2 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/1.011, allocations: 384.3 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/1.011, allocations: 83.16 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.011, allocations: 38.72 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.011, allocations: 6.156 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.011, allocations: 41.86 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.011, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004843/1.012, allocations: 155.3 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/1.012, allocations: 58.3 kB / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.012, allocations: 146.5 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.012, allocations: 26.83 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/1.012, allocations: 125.7 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/1.012, allocations: 30.23 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/1.012, allocations: 32.08 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.012, allocations: 321.2 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.012, allocations: 45.23 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/1.012, allocations: 46.78 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/1.013, allocations: 91.92 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.013, allocations: 1.062 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003119/1.013, allocations: 150.7 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.013, allocations: 5.484 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.013, allocations: 0 / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.013, allocations: 1.094 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/1.013, allocations: 25 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.013, allocations: 1.469 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/1.013, allocations: 15.3 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.013, allocations: 3.062 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.873e-05/1.013, allocations: 116.2 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/1.013, allocations: 20.39 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/1.014, allocations: 138.2 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.014, allocations: 2.375 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.014, allocations: 0 / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.014, allocations: 0.7031 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/1.014, allocations: 378.9 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.014, allocations: 5.219 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.014, allocations: 25.22 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.014, allocations: 2.5 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.014, allocations: 1.188 kB / 1.192 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.014, allocations: 5.703 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.014, allocations: 1.031 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/1.015, allocations: 243 kB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/1.015, allocations: 8.531 kB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/1.015, allocations: 10.97 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.015, allocations: 17.52 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/1.015, allocations: 11.31 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.015, allocations: 9.391 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.776e-05/1.015, allocations: 111.4 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.015, allocations: 5.062 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002449/1.015, allocations: 26.86 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001036/1.015, allocations: 98.3 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003154/1.016, allocations: 104.3 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.016, allocations: 0 / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/1.016, allocations: 45.61 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.0002914/1.016, allocations: 15.56 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/1.016, allocations: 255.1 kB / 1.193 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/1.016, allocations: 96.86 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.592e-05/1.017, allocations: 10.02 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/1.017, allocations: 13.95 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.017, allocations: 0.75 kB / 1.193 GB, free: 11.38 MB / 1.076 GB Notification: Performance of Templates: time 0.004272/1.021, allocations: 0.9899 MB / 1.194 GB, free: 11.23 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.025098104961216]