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.001874/0.001874, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002608/0.002608, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.66/1.66, allocations: 230.6 MB / 256 MB, free: 7.801 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.571/3.571, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.00216/0.00216, allocations: 65.44 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4395, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002413/0.4419, allocations: 0.8502 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4431, allocations: 0.9134 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4432, allocations: 7.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.4433, allocations: 11.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.4434, allocations: 11.81 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.4436, allocations: 59.91 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.4438, allocations: 135.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.4441, allocations: 37.66 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.4441, allocations: 63.7 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.4442, allocations: 55.69 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.4443, allocations: 12 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.4443, allocations: 16 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.4443, allocations: 23.92 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.4444, allocations: 51.72 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.4446, allocations: 151.3 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4446, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4446, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4446, allocations: 0 / 1.366 GB, free: 11.16 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.0007343/0.4454, allocations: 361.8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4454, allocations: 16.03 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.4455, allocations: 16.84 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.4458, allocations: 150.3 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4458, allocations: 8.375 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.4458, allocations: 12.38 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.4462, allocations: 235.2 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4462, allocations: 192 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4462, allocations: 7.938 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4462, allocations: 8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.4465, allocations: 123.9 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.4473, allocations: 384.1 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4475, allocations: 82.48 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4476, allocations: 44.83 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4477, allocations: 3.938 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.4477, allocations: 46.48 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4477, allocations: 0 / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004945/0.4482, allocations: 149.7 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4482, allocations: 55.41 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4484, allocations: 156.4 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4484, allocations: 25.7 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.4485, allocations: 123.9 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.4485, allocations: 31.73 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.4486, allocations: 25.72 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4487, allocations: 322.8 kB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4489, allocations: 47.97 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.449, allocations: 43.97 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.4493, allocations: 91.27 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4493, allocations: 0 / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003199/0.4496, allocations: 153.5 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4496, allocations: 4 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4496, allocations: 3.984 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4496, allocations: 4 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4498, allocations: 27.92 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4498, allocations: 3.984 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.4499, allocations: 7.938 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.4499, allocations: 8 kB / 1.369 GB, free: 8.238 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.000101/0.45, allocations: 117.8 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.4501, allocations: 15.84 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.4504, allocations: 142.3 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4504, allocations: 4 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4504, allocations: 0 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4504, allocations: 480 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.451, allocations: 380.5 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.451, allocations: 0 / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4511, allocations: 19.98 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.4511, allocations: 7.984 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4511, allocations: 7.938 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4511, allocations: 0 / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4511, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4515, allocations: 246 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.4515, allocations: 7.953 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4515, allocations: 4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.4517, allocations: 15.98 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.4517, allocations: 11.92 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4517, allocations: 11.94 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.966e-05/0.4518, allocations: 109.1 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4518, allocations: 0 / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002608/0.4521, allocations: 31.89 kB / 1.37 GB, free: 7.035 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.0001354/0.4522, allocations: 99.25 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.4525, allocations: 103.8 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4525, allocations: 0 / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4527, allocations: 43.92 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.453, allocations: 13.88 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.4535, allocations: 253.9 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4537, allocations: 98.12 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.4537, allocations: 8.5 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4537, allocations: 11.44 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4537, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of Templates: time 0.004048/0.4578, allocations: 1.058 MB / 1.372 GB, free: 5.309 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/jenkins/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.959140481427312]