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.001437/0.001437, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00175/0.00175, allocations: 159.9 kB / 23.01 MB, free: 4.602 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.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 2.967/2.967, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.002509/0.002509, allocations: 71.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9947, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.00231/0.997, allocations: 0.609 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.998, allocations: 0.8023 MB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.998, allocations: 0 / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.998, allocations: 0 / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.9981, allocations: 5.234 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.416e-05/0.9982, allocations: 9.734 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.9983, allocations: 17.95 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.9983, allocations: 3.031 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.9984, allocations: 11.67 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.9984, allocations: 4.125 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.9984, allocations: 5.5 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.9984, allocations: 1.562 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.9985, allocations: 6.172 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.9985, allocations: 6.578 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.089e-05/0.9986, allocations: 18.02 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9986, allocations: 3.938 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9986, allocations: 4 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9986, allocations: 0.5156 kB / 1.188 GB, free: 15.17 MB / 1.076 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.0004207/0.999, allocations: 257.2 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.9991, allocations: 9.906 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.9991, allocations: 1.938 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.9992, allocations: 113.3 kB / 1.188 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.9992, allocations: 5.812 kB / 1.188 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.9992, allocations: 384 / 1.188 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.9994, allocations: 46.27 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9994, allocations: 192 / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.9994, allocations: 3.938 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9994, allocations: 1.906 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.9995, allocations: 29.19 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.9997, allocations: 102.1 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9998, allocations: 33.08 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.9999, allocations: 25.91 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.9999, allocations: 1.984 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.9999, allocations: 31.27 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.9999, allocations: 1.25 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0003456/1, allocations: 77.53 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/1, allocations: 53.25 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/1, allocations: 102.1 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/1, allocations: 25.7 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/1, allocations: 85.52 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/1, allocations: 6.219 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/1, allocations: 15.75 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.479e-05/1, allocations: 312.3 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/1.001, allocations: 12.52 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/1.001, allocations: 22.16 kB / 1.189 GB, free: 13.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/1.001, allocations: 34.27 kB / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.001, allocations: 5.375 kB / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001816/1.001, allocations: 58.88 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.001, allocations: 8.5 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.001, allocations: 0.6094 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.001, allocations: 4.125 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/1.001, allocations: 8.203 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.001, allocations: 3.938 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/1.001, allocations: 10.61 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.001, allocations: 4 kB / 1.19 GB, free: 13.79 MB / 1.076 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 4.968e-05/1.001, allocations: 109.1 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-06/1.001, allocations: 4.688 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/1.001, allocations: 5.094 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.001, allocations: 7.875 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.001, allocations: 1.375 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.001, allocations: 0.7031 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.174e-05/1.001, allocations: 102 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.001, allocations: 1.312 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/1.001, allocations: 10.55 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.001, allocations: 2.031 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/1.001, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.001, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.001, allocations: 5.312 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/1.002, allocations: 85 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/1.002, allocations: 5.734 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/1.002, allocations: 1.062 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/1.002, allocations: 10.28 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/1.002, allocations: 6.438 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/1.002, allocations: 1.188 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.822e-05/1.002, allocations: 84.22 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.002, allocations: 0 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001805/1.002, allocations: 2.125 kB / 1.19 GB, free: 13.36 MB / 1.076 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.0001095/1.002, allocations: 94.59 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.002, allocations: 35.52 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.002, allocations: 0 / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/1.002, allocations: 18.72 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.003, allocations: 6.953 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/1.003, allocations: 93.84 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/1.003, allocations: 62.23 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.397e-05/1.003, allocations: 0.75 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/1.003, allocations: 17.53 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.003, allocations: 0 / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Templates: time 0.003116/1.006, allocations: 442.5 kB / 1.191 GB, free: 12.99 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.23702040198259]