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.001799/0.001799, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00197/0.00197, allocations: 216.9 kB / 22.99 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.311/3.311, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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.002117/0.002117, allocations: 63.97 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3508, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00229/0.3531, allocations: 0.8565 MB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3543, allocations: 0.9056 MB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3544, allocations: 7.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.3545, allocations: 11.81 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.3546, allocations: 7.875 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.3548, allocations: 67.89 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.355, allocations: 143.7 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3552, allocations: 37.66 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.3553, allocations: 55.83 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.3554, allocations: 51.7 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.3554, allocations: 12 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.3554, allocations: 12 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.3555, allocations: 31.91 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.3555, allocations: 51.72 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.3558, allocations: 143.3 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3558, allocations: 0 / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3558, allocations: 0 / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3558, allocations: 4 kB / 1.367 GB, free: 11.14 MB / 1.061 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.0007004/0.3565, allocations: 369.8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3565, allocations: 12.03 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.3566, allocations: 16.84 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3569, allocations: 150.3 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3569, allocations: 12.38 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3569, allocations: 16.31 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.3573, allocations: 227.2 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3573, allocations: 4.188 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3573, allocations: 7.938 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3573, allocations: 7.984 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.3576, allocations: 123.9 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.3584, allocations: 388.1 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3587, allocations: 82.48 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3588, allocations: 44.83 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3588, allocations: 3.938 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3588, allocations: 34.56 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3589, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004828/0.3593, allocations: 153.7 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3594, allocations: 55.41 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3595, allocations: 147.3 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3596, allocations: 29.7 kB / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.3596, allocations: 127.8 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3597, allocations: 31.73 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.3597, allocations: 25.72 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3599, allocations: 318.8 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.36, allocations: 47.97 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3601, allocations: 47.17 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3604, allocations: 92.81 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3604, allocations: 4 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003277/0.3607, allocations: 145.5 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3607, allocations: 6.656 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3607, allocations: 0 / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3608, allocations: 8 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3609, allocations: 23.92 kB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3609, allocations: 4 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.361, allocations: 15.92 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.361, allocations: 4.375 kB / 1.37 GB, free: 8.227 MB / 1.061 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 0.0001243/0.3611, allocations: 118.9 kB / 1.37 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.3612, allocations: 15.84 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3615, allocations: 142.2 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3615, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3615, allocations: 4 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3615, allocations: 0 / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.3621, allocations: 384.5 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3621, allocations: 0 / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3623, allocations: 19.98 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3623, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3623, allocations: 4.094 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3623, allocations: 0 / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3623, allocations: 4 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.3627, allocations: 245.9 kB / 1.371 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.3627, allocations: 15.94 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3627, allocations: 0 / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3629, allocations: 15.98 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3629, allocations: 15.92 kB / 1.371 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3629, allocations: 7.938 kB / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.363, allocations: 111.3 kB / 1.371 GB, free: 7.051 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 3.938 kB / 1.371 GB, free: 7.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00026/0.3633, allocations: 31.89 kB / 1.371 GB, free: 7.016 MB / 1.061 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.0001362/0.3634, allocations: 95.23 kB / 1.371 GB, free: 6.914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.3637, allocations: 95.89 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3637, allocations: 0 / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3639, allocations: 47.91 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3641, allocations: 12 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.3647, allocations: 283.3 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.3648, allocations: 98.52 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.3648, allocations: 19.42 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3648, allocations: 3.938 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of Templates: time 0.003378/0.3682, allocations: 1.446 MB / 1.373 GB, free: 4.859 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.205303476657718]