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.001044/0.001044, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002658, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006981/0.0006981, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008999/0.001598, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9921/0.9921, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09388/1.086, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.397/2.397, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2625/2.66, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.752e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001018/0.001036, allocations: 0.6624 MB / 0.819 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.001678, allocations: 0.8314 MB / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.001696, allocations: 0 / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.001715, allocations: 0 / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.741e-05/0.001743, allocations: 3.938 kB / 0.8198 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.085e-05/0.001773, allocations: 7.984 kB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.385e-05/0.001827, allocations: 15.94 kB / 0.8198 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.001862, allocations: 7.984 kB / 0.8198 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.001936, allocations: 11.94 kB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.001967, allocations: 11.98 kB / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.001982, allocations: 0 / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.001986, allocations: 4 kB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.001997, allocations: 4 kB / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.002012, allocations: 0 / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.755e-05/0.00207, allocations: 11.94 kB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.002081, allocations: 0 / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002081, allocations: 0 / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.002089, allocations: 0 / 0.8199 GB, free: 1.277 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.0002729/0.002362, allocations: 232.6 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.002392, allocations: 12.62 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.842e-05/0.002411, allocations: 0.9375 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.837e-05/0.002479, allocations: 109.8 kB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.002487, allocations: 8.375 kB / 0.8202 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.002493, allocations: 4.312 kB / 0.8202 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/0.002579, allocations: 46.95 kB / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-06/0.002584, allocations: 192 / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.002589, allocations: 384 / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-06/0.002592, allocations: 384 / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.151e-05/0.002603, allocations: 7.938 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.143e-05/0.002665, allocations: 57.05 kB / 0.8203 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.002696, allocations: 14.58 kB / 0.8203 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.002711, allocations: 16.78 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.002717, allocations: 4.094 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.002736, allocations: 30.56 kB / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.002736, allocations: 0 / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 8.011e-05/0.002816, allocations: 29.7 kB / 0.8204 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.002845, allocations: 55.41 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.002903, allocations: 114.7 kB / 0.8206 GB, free: 432 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.002911, allocations: 25.7 kB / 0.8206 GB, free: 400 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.126e-05/0.002933, allocations: 80.14 kB / 0.8207 GB, free: 316 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.002954, allocations: 8 kB / 0.8207 GB, free: 308 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.002977, allocations: 17.72 kB / 0.8207 GB, free: 284 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.00306, allocations: 314.8 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.003067, allocations: 3.938 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.003073, allocations: 4 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.933e-05/0.003092, allocations: 12.83 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003094, allocations: 0 / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.308e-05/0.003127, allocations: 33.7 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.003137, allocations: 4 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.003141, allocations: 0 / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.003147, allocations: 4.094 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.003203, allocations: 7.984 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.003206, allocations: 0 / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.003219, allocations: 4 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.003222, allocations: 3.938 kB / 0.8211 GB, free: 15.88 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.324e-05/0.003275, allocations: 109.8 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-06/0.00328, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.003296, allocations: 7.156 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.003297, allocations: 0 / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.003299, allocations: 3.984 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003302, allocations: 4 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.75e-05/0.003349, allocations: 65.84 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-07/0.00335, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.003364, allocations: 4 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.003369, allocations: 3.984 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.00337, allocations: 0 / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.003375, allocations: 4 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.003375, allocations: 4 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.003376, allocations: 0 / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.211e-05/0.003418, allocations: 53.08 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.003426, allocations: 8.031 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.003436, allocations: 7.922 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.003459, allocations: 0 / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.003461, allocations: 4 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.125e-05/0.003472, allocations: 8.859 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003472, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.361e-05/0.003556, allocations: 7.938 kB / 0.8214 GB, free: 15.54 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 6.154e-05/0.003618, allocations: 80.41 kB / 0.8214 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.398e-05/0.003672, allocations: 12.86 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.003676, allocations: 0 / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.003688, allocations: 4.859 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.767e-05/0.003775, allocations: 7.938 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.00407, allocations: 115.6 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.004098, allocations: 55.34 kB / 0.8216 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.385e-05/0.004112, allocations: 0 / 0.8216 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.004148, allocations: 51.38 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.004149, allocations: 4.125 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.001626/0.005775, allocations: 444.6 kB / 0.8221 GB, free: 14.72 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.100686934776604]