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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 186.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002212/0.002212, allocations: 73.27 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4131, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002044/0.4152, allocations: 0.6244 MB / 1.308 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4162, allocations: 0.8005 MB / 1.309 GB, free: 404 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.4163, allocations: 0 / 1.309 GB, free: 404 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.4163, allocations: 0 / 1.309 GB, free: 404 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.4164, allocations: 7.875 kB / 1.309 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.483e-05/0.4164, allocations: 0 / 1.309 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.4165, allocations: 27.92 kB / 1.309 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.4166, allocations: 0 / 1.309 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.4167, allocations: 8 kB / 1.309 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.4167, allocations: 7.984 kB / 1.309 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4167, allocations: 3.938 kB / 1.309 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.4167, allocations: 0 / 1.309 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.4168, allocations: 7.984 kB / 1.309 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.4168, allocations: 4 kB / 1.309 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.4169, allocations: 19.91 kB / 1.309 GB, free: 316 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4169, allocations: 0 / 1.309 GB, free: 316 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4169, allocations: 0 / 1.309 GB, free: 316 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4169, allocations: 4 kB / 1.309 GB, free: 312 kB / 0.9981 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.0005451/0.4174, allocations: 254.4 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4175, allocations: 8.922 kB / 1.309 GB, free: 16 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.4175, allocations: 4.938 kB / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4177, allocations: 110.4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4177, allocations: 384 / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4177, allocations: 384 / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.4179, allocations: 58.17 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4179, allocations: 192 / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4179, allocations: 3.938 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4179, allocations: 0 / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4181, allocations: 27.91 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.4182, allocations: 124.8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4184, allocations: 34.56 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.4184, allocations: 20.89 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4185, allocations: 0 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4185, allocations: 38.5 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.4185, allocations: 0 / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003393/0.4188, allocations: 77.69 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4189, allocations: 51.41 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.419, allocations: 105.8 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.419, allocations: 25.7 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.4191, allocations: 84.14 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.4191, allocations: 3.953 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.4191, allocations: 17.66 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4193, allocations: 314.8 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.4193, allocations: 20.02 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.4194, allocations: 11.98 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4196, allocations: 36.77 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4196, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001828/0.4197, allocations: 65.72 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4198, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4198, allocations: 7.938 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4198, allocations: 0 / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.4199, allocations: 7.984 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4199, allocations: 0 / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.4199, allocations: 8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4199, allocations: 0 / 1.31 GB, free: 14.62 MB / 1.014 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 9.906e-05/0.42, allocations: 118.6 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.42, allocations: 4 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.4201, allocations: 11.09 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4201, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4201, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4201, allocations: 3.938 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4202, allocations: 120.8 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4202, allocations: 0 / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.4202, allocations: 7.984 kB / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4202, allocations: 0 / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4203, allocations: 11.94 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4203, allocations: 0 / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4203, allocations: 0 / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.4205, allocations: 85.09 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.4205, allocations: 3.953 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4205, allocations: 7.875 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.4205, allocations: 12.02 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4206, allocations: 4 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4206, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.4206, allocations: 83.28 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4206, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001754/0.4208, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 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.0001387/0.4209, allocations: 107.1 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4212, allocations: 31.97 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4212, allocations: 4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.4212, allocations: 11.98 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4215, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.4218, allocations: 105.5 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4221, allocations: 0.6769 MB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.4221, allocations: 0 / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.4222, allocations: 11.44 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/0.4222, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of Templates: time 0.002978/0.4251, allocations: 419 kB / 1.312 GB, free: 12.67 MB / 1.014 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=400 -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/jenkins/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.492645017802715]