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.001383/0.001383, 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.00151/0.00151, allocations: 213.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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.405/3.405, allocations: 0.5107 GB / 0.8166 GB, free: 17.74 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.002034/0.002034, allocations: 67.52 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 181.9 MB / 1.365 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002388/0.3654, allocations: 0.6655 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3667, allocations: 0.8475 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.3667, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.3668, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.3668, allocations: 7.938 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.367, allocations: 7.984 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.3671, allocations: 27.92 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.3672, allocations: 3.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.3673, allocations: 11.98 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.3673, allocations: 7.938 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3673, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.3674, allocations: 7.984 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.3674, allocations: 11.98 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.3674, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3676, allocations: 27.84 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3676, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3676, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3676, allocations: 0 / 1.366 GB, free: 11.81 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.0004798/0.368, allocations: 258.4 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3681, allocations: 8.031 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.3682, allocations: 16.77 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3683, allocations: 110.5 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3683, allocations: 4.375 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.3683, allocations: 384 / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.3685, allocations: 50.23 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3685, allocations: 192 / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3685, allocations: 7.875 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3685, allocations: 0 / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3687, allocations: 31.97 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.3691, allocations: 200.5 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3692, allocations: 38.56 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.3693, allocations: 20.91 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.3693, allocations: 7.938 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3693, allocations: 34.56 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.3693, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.3697, allocations: 89.67 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3698, allocations: 51.41 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.3699, allocations: 97.84 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3699, allocations: 25.7 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3699, allocations: 92.09 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.37, allocations: 7.938 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.37, allocations: 13.72 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3702, allocations: 318.8 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.3703, allocations: 11.98 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.3703, allocations: 24.02 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3705, allocations: 36.81 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3705, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002141/0.3707, allocations: 69.55 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3707, allocations: 4 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3707, allocations: 0 / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3707, allocations: 8.094 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.3708, allocations: 7.984 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3708, allocations: 0 / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.3709, allocations: 7.984 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3709, allocations: 0 / 1.368 GB, free: 10.02 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 8.918e-05/0.371, allocations: 114.9 kB / 1.368 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.371, allocations: 3.938 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.3713, allocations: 77.09 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3713, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3713, allocations: 3.984 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3713, allocations: 3.984 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.3714, allocations: 101.3 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3714, allocations: 7.875 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.3715, allocations: 11.98 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3715, allocations: 3.938 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3715, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3715, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3715, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3718, allocations: 167.5 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.3718, allocations: 7.938 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3718, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.3719, allocations: 7.984 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3719, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3719, allocations: 3.938 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.372, allocations: 87.27 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002311/0.3722, allocations: 8.031 kB / 1.368 GB, free: 9.352 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.000125/0.3723, allocations: 94.25 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.3725, allocations: 39.95 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3725, allocations: 0 / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.3726, allocations: 15.98 kB / 1.369 GB, free: 9.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3729, allocations: 6.156 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3733, allocations: 139.9 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.3734, allocations: 63.34 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.3734, allocations: 11.44 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3734, allocations: 0 / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of Templates: time 0.002342/0.3757, allocations: 0.5498 MB / 1.369 GB, free: 8.383 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/jenkins1/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: 11.147693871986121]