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.001418/0.001418, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001849/0.001849, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.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 2.821/2.821, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002183/0.002183, allocations: 63.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9905/0.9927, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001691/0.9944, allocations: 0.6077 MB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.9951, allocations: 0.8116 MB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.9951, allocations: 0 / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.9951, allocations: 3.938 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.9952, allocations: 0 / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.115e-05/0.9952, allocations: 3.375 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.9953, allocations: 27.12 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.9954, allocations: 2.906 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.9954, allocations: 10.81 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.9954, allocations: 6 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.9955, allocations: 0 / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-06/0.9955, allocations: 6.531 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.9955, allocations: 3.984 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.9955, allocations: 10.59 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 6.296e-05/0.9956, allocations: 16.75 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9956, allocations: 0 / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9956, allocations: 0 / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9956, allocations: 0 / 1.155 GB, free: 32.28 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.0003723/0.9959, allocations: 265.6 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.996, allocations: 8.312 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.996, allocations: 0.9375 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.9961, allocations: 113.3 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.9961, allocations: 3.125 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.9961, allocations: 384 / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.9962, allocations: 41.56 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.9963, allocations: 192 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.9963, allocations: 11.86 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.9963, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.9964, allocations: 32.25 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.9965, allocations: 107.2 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.9966, allocations: 30.02 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.9967, allocations: 23.94 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.9967, allocations: 2.812 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.9968, allocations: 34.56 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.9968, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0002936/0.997, allocations: 80.33 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.9971, allocations: 57.94 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.9971, allocations: 102.3 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.9971, allocations: 25.7 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.9972, allocations: 80.14 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.9972, allocations: 2.656 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.9972, allocations: 9.719 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.9973, allocations: 320.6 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.9974, allocations: 11.48 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.9974, allocations: 23.06 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9976, allocations: 27.5 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9976, allocations: 2.625 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001585/0.9977, allocations: 61.94 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.9977, allocations: 10.31 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9977, allocations: 4.094 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.9978, allocations: 7.688 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.9978, allocations: 5.312 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9978, allocations: 0 / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.9979, allocations: 6.281 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.9979, allocations: 3.156 kB / 1.157 GB, free: 30.9 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.624e-05/0.9979, allocations: 110.4 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.9979, allocations: 6.859 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.998, allocations: 6.625 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.998, allocations: 7.938 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.998, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.998, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.55e-05/0.998, allocations: 96.27 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.998, allocations: 3.938 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.9981, allocations: 8.891 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.9981, allocations: 0 / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.9981, allocations: 4 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.9981, allocations: 2.844 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9981, allocations: 3.938 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.9982, allocations: 91.75 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.9983, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.9983, allocations: 3.156 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.9983, allocations: 6.312 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.9983, allocations: 3.938 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.9983, allocations: 0 / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.091e-05/0.9984, allocations: 85.06 kB / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9984, allocations: 0 / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001725/0.9985, allocations: 3.062 kB / 1.157 GB, free: 30.47 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 9.458e-05/0.9986, allocations: 101.1 kB / 1.157 GB, free: 30.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.9988, allocations: 32.16 kB / 1.157 GB, free: 30.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9988, allocations: 0 / 1.157 GB, free: 30.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.9989, allocations: 16.02 kB / 1.157 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.9991, allocations: 5.562 kB / 1.157 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.9993, allocations: 105.8 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.9994, allocations: 64.45 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.9994, allocations: 0 / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.9994, allocations: 8.828 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9994, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of Templates: time 0.00257/1.002, allocations: 440.7 kB / 1.158 GB, free: 30.1 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 9.090191485011019]