Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001297/0.001297, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001454/0.001454, allocations: 209.7 kB / 22.99 MB, free: 4.957 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002154/0.002154, allocations: 69.39 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4005, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001901/0.4024, allocations: 0.6067 MB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4034, allocations: 0.8164 MB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.4035, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.4035, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.4036, allocations: 11.92 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.655e-05/0.4036, allocations: 4 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.4037, allocations: 19.92 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.4038, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.4038, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.4039, allocations: 11.92 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.4039, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-06/0.4039, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.4039, allocations: 3.984 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.4039, allocations: 7.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.404, allocations: 15.97 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.404, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.404, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.404, allocations: 4 kB / 1.329 GB, free: 15.4 MB / 1.029 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.0004546/0.4045, allocations: 250.4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4045, allocations: 12.02 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.4045, allocations: 0.9375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4047, allocations: 114.5 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4047, allocations: 4.375 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.4047, allocations: 384 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4049, allocations: 42.19 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4049, allocations: 4.188 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4049, allocations: 7.922 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4049, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.405, allocations: 27.97 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.4052, allocations: 105.4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.4053, allocations: 30.55 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.4054, allocations: 20.91 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.4054, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4054, allocations: 38.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.4054, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003256/0.4058, allocations: 81.53 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4058, allocations: 55.41 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.4059, allocations: 97.86 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4059, allocations: 25.7 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.406, allocations: 84.08 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.406, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.406, allocations: 17.7 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4061, allocations: 314.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.4062, allocations: 11.98 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.4063, allocations: 20.05 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4064, allocations: 40.81 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4064, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001791/0.4066, allocations: 57.67 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4066, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4066, allocations: 4.094 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4066, allocations: 3.938 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.4067, allocations: 7.984 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4067, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.4068, allocations: 7.984 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4068, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 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 9.121e-05/0.4069, allocations: 109.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4069, allocations: 12.08 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.4069, allocations: 7.141 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4069, allocations: 11.94 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4069, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4069, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.952e-05/0.407, allocations: 105.3 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.407, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.4071, allocations: 7.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4071, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4071, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4071, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4071, allocations: 3.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4073, allocations: 93.05 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.4073, allocations: 3.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.4073, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.4073, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.4074, allocations: 7.922 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.4074, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.4074, allocations: 87.22 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4074, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001757/0.4076, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 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.0001146/0.4077, allocations: 103.3 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.4079, allocations: 31.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4079, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.408, allocations: 15.98 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.4082, allocations: 3.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.4085, allocations: 107.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.4085, allocations: 55.36 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.4086, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4086, allocations: 11.38 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4086, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Templates: time 0.002691/0.4113, allocations: 449.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.98159491000115]