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.001591/0.001591, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001766/0.001766, allocations: 216 kB / 23.01 MB, free: 5.113 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.632/3.632, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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.002123/0.002123, allocations: 68.69 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001757/0.3408, allocations: 0.6095 MB / 1.355 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.3417, allocations: 0.8164 MB / 1.356 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3417, allocations: 0 / 1.356 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.3418, allocations: 0 / 1.356 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/0.3418, allocations: 7.938 kB / 1.356 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.848e-05/0.3418, allocations: 7.984 kB / 1.356 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.3419, allocations: 15.94 kB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.342, allocations: 3.984 kB / 1.356 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.342, allocations: 8 kB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.3421, allocations: 19.91 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3421, allocations: 0 / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-06/0.3421, allocations: 0 / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.3421, allocations: 0 / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.3421, allocations: 11.94 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.748e-05/0.3422, allocations: 19.97 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3422, allocations: 0 / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3422, allocations: 0 / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3422, allocations: 0 / 1.356 GB, free: 6.398 MB / 1.045 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.0004051/0.3426, allocations: 254.4 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3426, allocations: 8.031 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.3427, allocations: 0.9375 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3428, allocations: 122.4 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3428, allocations: 384 / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.3428, allocations: 4.375 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.343, allocations: 46.19 kB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.343, allocations: 192 / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.343, allocations: 3.938 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.343, allocations: 0 / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3431, allocations: 35.89 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.3433, allocations: 128.8 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3434, allocations: 26.56 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.3435, allocations: 20.91 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3435, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3435, allocations: 34.5 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3435, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0003049/0.3438, allocations: 77.58 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3439, allocations: 51.41 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.344, allocations: 105.8 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.344, allocations: 25.7 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.344, allocations: 80.14 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.344, allocations: 3.938 kB / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3441, allocations: 21.84 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3442, allocations: 310.8 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.3443, allocations: 11.98 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.3444, allocations: 19.97 kB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3445, allocations: 32.83 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3445, allocations: 4 kB / 1.357 GB, free: 4.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001882/0.3447, allocations: 65.61 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3447, allocations: 4 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3447, allocations: 7.938 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3447, allocations: 0 / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.3448, allocations: 4 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3448, allocations: 3.984 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.3449, allocations: 12.02 kB / 1.357 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3449, allocations: 0 / 1.357 GB, free: 4.711 MB / 1.045 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 7.713e-05/0.345, allocations: 113.8 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.345, allocations: 4.188 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.345, allocations: 15.06 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.345, allocations: 0 / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.345, allocations: 0 / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.345, allocations: 3.938 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3451, allocations: 124.8 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3451, allocations: 4 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.3452, allocations: 7.984 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3452, allocations: 7.938 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3452, allocations: 7.938 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3452, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3452, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3454, allocations: 85.09 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.3454, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3454, allocations: 3.938 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.3454, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.3455, allocations: 11.98 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.3455, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.3455, allocations: 75.28 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3455, allocations: 4 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001772/0.3457, allocations: 0 / 1.358 GB, free: 4.176 MB / 1.045 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.0001152/0.3458, allocations: 103.2 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.346, allocations: 31.95 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.346, allocations: 0 / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.3461, allocations: 19.98 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.3463, allocations: 6.25 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.3465, allocations: 123.3 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3468, allocations: 0.6729 MB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.3469, allocations: 7.438 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3469, allocations: 0 / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of Templates: time 0.001997/0.3489, allocations: 495.9 kB / 1.359 GB, free: 2.664 MB / 1.045 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/jenkins1/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: 11.58038913999917]