Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.002125/0.002125, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002687/0.002687, allocations: 212 kB / 22.24 MB, free: 4.855 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.716/1.716, allocations: 230.6 MB / 256 MB, free: 7.793 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.555/3.555, allocations: 0.5107 GB / 0.8158 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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [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.002199/0.002199, allocations: 67.94 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4462, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002074/0.4483, allocations: 0.6024 MB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4495, allocations: 0.8124 MB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.4495, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.4495, allocations: 3.938 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.4496, allocations: 7.984 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.218e-05/0.4497, allocations: 8 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.4497, allocations: 19.86 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.4498, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.4499, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.4499, allocations: 7.984 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.45, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.45, allocations: 4 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.45, allocations: 11.92 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.45, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.4501, allocations: 15.97 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4501, allocations: 4 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4501, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4501, allocations: 3.938 kB / 1.365 GB, free: 12.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005198/0.4506, allocations: 266.3 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4507, allocations: 8.031 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.4507, allocations: 4.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4509, allocations: 118.4 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4509, allocations: 384 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4509, allocations: 384 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4511, allocations: 50.23 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4511, allocations: 192 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4511, allocations: 7.938 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4511, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.4512, allocations: 23.97 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.4514, allocations: 101.4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4516, allocations: 38.48 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.4517, allocations: 20.91 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4517, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.4517, allocations: 34.56 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4517, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003415/0.4521, allocations: 77.58 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4521, allocations: 55.34 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.4522, allocations: 97.86 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4522, allocations: 29.83 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.4523, allocations: 84.14 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.4523, allocations: 7.938 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.4523, allocations: 13.72 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4525, allocations: 314.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.4526, allocations: 15.98 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.4526, allocations: 11.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.4528, allocations: 40.88 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4528, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001808/0.4529, allocations: 57.61 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.453, allocations: 8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.453, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.453, allocations: 3.938 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.4531, allocations: 7.984 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4531, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.4531, allocations: 15.95 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.4531, allocations: 0 / 1.367 GB, free: 10.37 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 (1): * Single equations (assignments): 1 * 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.0001007/0.4532, allocations: 109.8 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.4532, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.4532, allocations: 3.156 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4533, allocations: 3.938 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4533, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4533, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/0.4534, allocations: 101.3 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4534, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4534, allocations: 11.98 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4534, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.4534, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4534, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4534, allocations: 3.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4536, allocations: 89.05 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.4536, allocations: 7.938 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4536, allocations: 0 / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.4537, allocations: 12.03 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4537, allocations: 7.922 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.4537, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.4538, allocations: 83.45 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4538, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001705/0.454, allocations: 4 kB / 1.367 GB, free: 9.871 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 (1): * Single equations (assignments): 1 * 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.0001426/0.4541, allocations: 91.25 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.4543, allocations: 39.95 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4543, allocations: 0 / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.4544, allocations: 19.92 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.4546, allocations: 4 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.4549, allocations: 97.56 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.4549, allocations: 55.36 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.455, allocations: 4.109 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.455, allocations: 15.44 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.455, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of Templates: time 0.002818/0.4578, allocations: 427.8 kB / 1.368 GB, free: 9.082 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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: 10.164427787065506]