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.0009333/0.0009333, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002134, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001119/0.001119, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002619, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.105/1.105, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.124/1.229, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.611/2.611, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3547/2.966, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.819 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.485e-05, allocations: 2.312 kB / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001034/0.001049, allocations: 0.6587 MB / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006394/0.001688, allocations: 0.8314 MB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.001708, allocations: 0 / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.001729, allocations: 8 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.001764, allocations: 11.86 kB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.811e-05/0.001802, allocations: 0 / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.001864, allocations: 19.94 kB / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.00191, allocations: 3.984 kB / 0.8205 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.002003, allocations: 12 kB / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.002038, allocations: 3.984 kB / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.002059, allocations: 4 kB / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.002065, allocations: 0 / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002078, allocations: 0 / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.002098, allocations: 11.94 kB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.714e-05/0.002165, allocations: 4 kB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.002179, allocations: 7.984 kB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002179, allocations: 0 / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.002193, allocations: 4 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 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.0003722/0.002566, allocations: 228.6 kB / 0.8207 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.0026, allocations: 8.031 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.002626, allocations: 0.9375 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.002722, allocations: 109.8 kB / 0.8208 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.002734, allocations: 384 / 0.8208 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.002744, allocations: 4.312 kB / 0.8208 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.002846, allocations: 54.95 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.002855, allocations: 192 / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.00286, allocations: 384 / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.002866, allocations: 384 / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.263e-05/0.002879, allocations: 7.938 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.697e-05/0.002956, allocations: 57.03 kB / 0.8209 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.002993, allocations: 22.61 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.003011, allocations: 8.797 kB / 0.821 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-06/0.003016, allocations: 3.938 kB / 0.821 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.003035, allocations: 38.62 kB / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.003035, allocations: 0 / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.49e-05/0.00313, allocations: 29.7 kB / 0.821 GB, free: 204 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.00316, allocations: 51.41 kB / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.003221, allocations: 106.7 kB / 0.8212 GB, free: 20 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.00324, allocations: 25.7 kB / 0.8212 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.003267, allocations: 84.14 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.003294, allocations: 3.938 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.003315, allocations: 9.719 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.003395, allocations: 318.8 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.003403, allocations: 8.062 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.003411, allocations: 3.984 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.003431, allocations: 12.86 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.003433, allocations: 0 / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.31e-05/0.003466, allocations: 29.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003477, allocations: 4 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.003481, allocations: 4 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.003495, allocations: 0 / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.003551, allocations: 7.984 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.003554, allocations: 4.094 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.003567, allocations: 0 / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.003571, allocations: 3.938 kB / 0.8217 GB, free: 15.48 MB / 0.8073 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 5.427e-05/0.003626, allocations: 117.8 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-06/0.003629, allocations: 0 / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.003652, allocations: 7.328 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.003654, allocations: 3.984 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.003657, allocations: 8 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00366, allocations: 0 / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.117e-05/0.003711, allocations: 61.84 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003711, allocations: 8 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.003723, allocations: 0 / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.003729, allocations: 7.984 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003729, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-06/0.003733, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.003734, allocations: 0 / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003734, allocations: 3.938 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.792e-05/0.003782, allocations: 61.08 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.003792, allocations: 3.984 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.003802, allocations: 7.938 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.003827, allocations: 4.031 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.003828, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.186e-05/0.00384, allocations: 8.859 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00384, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.592e-05/0.003926, allocations: 4 kB / 0.822 GB, free: 15.13 MB / 0.8073 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 7.253e-05/0.003998, allocations: 76.41 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.004055, allocations: 12.86 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.004061, allocations: 4 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.004078, allocations: 8.953 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.004216, allocations: 49.55 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.004585, allocations: 103.4 kB / 0.8222 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.004619, allocations: 51.36 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.004633, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.004681, allocations: 51.38 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.004682, allocations: 0 / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of Templates: time 0.001858/0.00654, allocations: 461 kB / 0.8228 GB, free: 14.26 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7185378558933735]