Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001718/0.001718, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002088/0.002088, allocations: 214.9 kB / 22.25 MB, free: 5.242 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.797 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.659/3.659, 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [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.002285/0.002285, allocations: 62 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4515, allocations: 181.9 MB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002222/0.4537, allocations: 0.6633 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.455, allocations: 0.8553 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.455, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.455, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.4551, allocations: 3.938 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.4553, allocations: 19.86 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.4554, allocations: 20 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4555, allocations: 7.984 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.4556, allocations: 11.94 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.4557, allocations: 19.91 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.4557, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.4557, allocations: 8 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.4558, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.4558, allocations: 7.938 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.4559, allocations: 31.83 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4559, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4559, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4559, allocations: 0 / 1.365 GB, free: 11.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000501/0.4564, allocations: 262.4 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4565, allocations: 8.031 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.844e-05/0.4566, allocations: 8.891 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.4567, allocations: 102.5 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.4567, allocations: 8.375 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.4568, allocations: 384 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4569, allocations: 50.23 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.457, allocations: 4.125 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.457, allocations: 3.938 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.457, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.4572, allocations: 35.95 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.4575, allocations: 192.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4576, allocations: 38.59 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.4577, allocations: 20.91 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4577, allocations: 3.938 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4578, allocations: 42.5 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.4578, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.4581, allocations: 85.62 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4582, allocations: 51.41 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.4583, allocations: 97.86 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4583, allocations: 29.69 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.4584, allocations: 88.09 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.4584, allocations: 3.953 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.4584, allocations: 17.84 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4586, allocations: 318.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.4587, allocations: 11.98 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.4587, allocations: 23.91 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.4589, allocations: 36.83 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4589, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.4591, allocations: 77.59 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4591, allocations: 4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4591, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4591, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.4592, allocations: 11.98 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4592, allocations: 0 / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.4593, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4593, allocations: 0 / 1.367 GB, free: 10.06 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 (2): * Single equations (assignments): 2 * 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.0001057/0.4594, allocations: 126.9 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.4594, allocations: 3.938 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.4596, allocations: 64.97 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4596, allocations: 8 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4596, allocations: 0 / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4596, allocations: 0 / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.4598, allocations: 105.3 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4598, allocations: 0 / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.4599, allocations: 12.03 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4599, allocations: 3.938 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4599, allocations: 3.984 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4599, allocations: 0 / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4599, allocations: 0 / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.4601, allocations: 167.4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.4601, allocations: 3.938 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4601, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.4602, allocations: 8.031 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4603, allocations: 3.984 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4603, allocations: 4 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.4603, allocations: 79.28 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4603, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002099/0.4605, allocations: 4 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001341/0.4607, allocations: 91.25 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.4609, allocations: 43.89 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4609, allocations: 7.938 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.461, allocations: 15.98 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4613, allocations: 10.94 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.4616, allocations: 102.3 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.4617, allocations: 59.34 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.4617, allocations: 0 / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.4617, allocations: 15.56 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4617, allocations: 0 / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of Templates: time 0.003074/0.4648, allocations: 472.3 kB / 1.368 GB, free: 8.559 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.884802516549826]