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.001441/0.001441, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001412/0.001412, allocations: 188.7 kB / 22.11 MB, free: 4.223 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.576/1.576, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.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.086/3.086, allocations: 495.8 MB / 0.783 GB, free: 12.18 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.002106/0.002106, allocations: 59.89 kB / 1.137 GB, free: 12.11 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001756/1.103, allocations: 0.6212 MB / 1.307 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0007551/1.104, allocations: 0.7772 MB / 1.308 GB, free: 32.77 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/1.104, allocations: 0 / 1.308 GB, free: 32.77 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.641e-05/1.104, allocations: 3.938 kB / 1.308 GB, free: 32.76 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 6.23e-05/1.104, allocations: 3.938 kB / 1.308 GB, free: 32.76 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 4.321e-05/1.104, allocations: 7.469 kB / 1.308 GB, free: 32.75 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 7.464e-05/1.104, allocations: 23.91 kB / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/1.104, allocations: 4 kB / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/1.104, allocations: 6.734 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/1.104, allocations: 14.22 kB / 1.308 GB, free: 32.73 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.881e-05/1.104, allocations: 6.75 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/1.104, allocations: 0 / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.368e-05/1.104, allocations: 0 / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.045e-05/1.104, allocations: 6.844 kB / 1.308 GB, free: 32.72 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 6.501e-05/1.104, allocations: 17.66 kB / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.104, allocations: 0 / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.984e-06/1.104, allocations: 0 / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5e-06/1.104, allocations: 0 / 1.308 GB, free: 32.71 MB / 1.061 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.0003522/1.105, allocations: 258.7 kB / 1.308 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.105, allocations: 8.75 kB / 1.308 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/1.105, allocations: 3.891 kB / 1.308 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/1.105, allocations: 124 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/1.105, allocations: 384 / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.105, allocations: 3.219 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/1.105, allocations: 41.22 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.105, allocations: 192 / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.105, allocations: 3.938 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.105, allocations: 4 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/1.105, allocations: 30.23 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/1.105, allocations: 122.6 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/1.105, allocations: 33.48 kB / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/1.105, allocations: 27.67 kB / 1.309 GB, free: 32.07 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/1.105, allocations: 0 / 1.309 GB, free: 32.07 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.106, allocations: 33.44 kB / 1.309 GB, free: 32.03 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.106, allocations: 3.938 kB / 1.309 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1): time 0.0003393/1.106, allocations: 72.75 kB / 1.309 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.106, allocations: 51.53 kB / 1.309 GB, free: 31.92 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/1.106, allocations: 111 kB / 1.309 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.059e-05/1.106, allocations: 25.7 kB / 1.309 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/1.106, allocations: 83.05 kB / 1.309 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/1.106, allocations: 3.953 kB / 1.309 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/1.106, allocations: 17.66 kB / 1.309 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.973e-05/1.106, allocations: 317.2 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/1.106, allocations: 12.42 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/1.106, allocations: 17.53 kB / 1.31 GB, free: 31.35 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.106, allocations: 32.55 kB / 1.31 GB, free: 31.34 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.106, allocations: 0 / 1.31 GB, free: 31.34 MB / 1.061 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001674/1.107, allocations: 60.95 kB / 1.31 GB, free: 31.31 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.107, allocations: 2.938 kB / 1.31 GB, free: 31.31 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.107, allocations: 10.84 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.107, allocations: 3.938 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.107, allocations: 6.453 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.107, allocations: 2.938 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/1.107, allocations: 6.547 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.107, allocations: 0 / 1.31 GB, free: 31.3 MB / 1.061 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 6.401e-05/1.107, allocations: 115.3 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/1.107, allocations: 2.875 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/1.107, allocations: 11.09 kB / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.107, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.107, allocations: 7.703 kB / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.107, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.217e-05/1.107, allocations: 126.1 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.107, allocations: 0 / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/1.107, allocations: 6.078 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.107, allocations: 7.016 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.107, allocations: 3.938 kB / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.107, allocations: 0 / 1.31 GB, free: 31 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.107, allocations: 4 kB / 1.31 GB, free: 30.99 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/1.107, allocations: 84.62 kB / 1.31 GB, free: 30.92 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/1.107, allocations: 0 / 1.31 GB, free: 30.92 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/1.107, allocations: 7.266 kB / 1.31 GB, free: 30.92 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/1.107, allocations: 10 kB / 1.31 GB, free: 30.91 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/1.107, allocations: 7.5 kB / 1.31 GB, free: 30.91 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/1.107, allocations: 0 / 1.31 GB, free: 30.91 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.882e-05/1.107, allocations: 78.25 kB / 1.31 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.107, allocations: 0 / 1.31 GB, free: 30.84 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.000175/1.108, allocations: 6.969 kB / 1.31 GB, free: 30.83 MB / 1.061 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.0001261/1.108, allocations: 97.19 kB / 1.31 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002379/1.108, allocations: 38.03 kB / 1.31 GB, free: 30.73 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.108, allocations: 0 / 1.31 GB, free: 30.73 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 8.03e-05/1.108, allocations: 19.02 kB / 1.31 GB, free: 30.73 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/1.108, allocations: 5.688 kB / 1.31 GB, free: 30.73 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/1.109, allocations: 111.9 kB / 1.31 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/1.109, allocations: 0.674 MB / 1.311 GB, free: 29.91 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.753e-05/1.109, allocations: 4.125 kB / 1.311 GB, free: 29.91 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/1.109, allocations: 7.438 kB / 1.311 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of SimCode: time 6.51e-07/1.109, allocations: 0 / 1.311 GB, free: 29.9 MB / 1.061 GB
Notification: Performance of Templates: time 0.002881/1.112, allocations: 415.2 kB / 1.311 GB, free: 29.84 MB / 1.061 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  -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: 10.09965369477868]