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.001155/0.001155, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002742, allocations: 449.7 kB / 10.37 MB, free: 328 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.001089/0.001089, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002439, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9588/0.9588, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.062, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.946/1.946, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4875/2.434, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 3.406e-06/3.406e-06, allocations: 4 kB / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.656e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001803/0.00183, allocations: 0.6611 MB / 0.73 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002873, allocations: 0.8386 MB / 0.7308 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.002903, allocations: 1.094 kB / 0.7308 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002931, allocations: 4 kB / 0.7308 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.002979, allocations: 9.125 kB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.68e-05/0.003026, allocations: 0 / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.00312, allocations: 19.28 kB / 0.7309 GB, free: 3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.003175, allocations: 6.375 kB / 0.7309 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003279, allocations: 17.31 kB / 0.7309 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.003323, allocations: 4.75 kB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.003347, allocations: 0 / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.003354, allocations: 5.312 kB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.003367, allocations: 0.5 kB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003394, allocations: 6.312 kB / 0.7309 GB, free: 2.969 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.003482, allocations: 12.97 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.003501, allocations: 0.875 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003502, allocations: 0 / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.003524, allocations: 4.656 kB / 0.7309 GB, free: 2.953 MB / 0.698 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.0004187/0.003942, allocations: 221.4 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.003986, allocations: 8.031 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.004016, allocations: 2.656 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.00413, allocations: 113.7 kB / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.004142, allocations: 384 / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.004152, allocations: 1.25 kB / 0.7312 GB, free: 2.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.004296, allocations: 55.8 kB / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.004305, allocations: 192 / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004313, allocations: 0.9375 kB / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.004321, allocations: 384 / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.004342, allocations: 4.688 kB / 0.7313 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.004451, allocations: 65.03 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.004504, allocations: 19.58 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.004527, allocations: 5.516 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.004536, allocations: 0.875 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.004569, allocations: 34.62 kB / 0.7314 GB, free: 2.344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.004571, allocations: 4.594 kB / 0.7314 GB, free: 2.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.004704, allocations: 30.36 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.004751, allocations: 51.41 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.004842, allocations: 109.4 kB / 0.7316 GB, free: 2.125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.004859, allocations: 25.7 kB / 0.7316 GB, free: 2.094 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.004896, allocations: 84.14 kB / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.004928, allocations: 0 / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.00497, allocations: 14.41 kB / 0.7317 GB, free: 1.988 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.005095, allocations: 318.8 kB / 0.732 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.005114, allocations: 8.891 kB / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.005122, allocations: 0 / 0.732 GB, free: 1.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.005159, allocations: 13.33 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005161, allocations: 2 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.535e-05/0.005236, allocations: 29.89 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.005255, allocations: 7.062 kB / 0.7321 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.005263, allocations: 4 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.005278, allocations: 4.516 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.005379, allocations: 8.922 kB / 0.7321 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005384, allocations: 3.984 kB / 0.7321 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.005405, allocations: 3.938 kB / 0.7321 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.005414, allocations: 1.641 kB / 0.7321 GB, free: 1.582 MB / 0.698 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.642e-05/0.00549, allocations: 115.6 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.005497, allocations: 0 / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.005526, allocations: 7.141 kB / 0.7322 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005528, allocations: 0 / 0.7322 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.005532, allocations: 4 kB / 0.7322 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.005537, allocations: 5.219 kB / 0.7322 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.116e-05/0.005608, allocations: 67.03 kB / 0.7323 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.005612, allocations: 4 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.005646, allocations: 3.984 kB / 0.7323 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.005656, allocations: 4.906 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005658, allocations: 0 / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.005662, allocations: 0.8125 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005663, allocations: 0 / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005664, allocations: 0.9062 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.005746, allocations: 61.08 kB / 0.7324 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.005758, allocations: 4.547 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.00578, allocations: 4.688 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.005813, allocations: 0.5469 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005815, allocations: 1.156 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.476e-05/0.00583, allocations: 12.84 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.00583, allocations: 0 / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001583/0.005988, allocations: 5.031 kB / 0.7324 GB, free: 1.246 MB / 0.698 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.0001082/0.006096, allocations: 77.69 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.006169, allocations: 10.64 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.006174, allocations: 0 / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.006188, allocations: 8.859 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.006339, allocations: 11.94 kB / 0.7325 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.0068, allocations: 98.61 kB / 0.7326 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.006846, allocations: 59.34 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.00687, allocations: 1.344 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.00693, allocations: 47.38 kB / 0.7327 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/0.006931, allocations: 4 kB / 0.7327 GB, free: 0.875 MB / 0.698 GB Notification: Performance of Templates: time 0.002538/0.009469, allocations: 445.2 kB / 0.7331 GB, free: 468 kB / 0.698 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.978798042982817]