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.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.001302/0.001302, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001699/0.001699, allocations: 189 kB / 22.22 MB, free: 5.105 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.441/1.441, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.105/3.105, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001935/0.001935, allocations: 63.33 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3809, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002125/0.3831, allocations: 0.6098 MB / 1.317 GB, free: 9.082 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001041/0.3841, allocations: 0.7966 MB / 1.317 GB, free: 8.273 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.3841, allocations: 0 / 1.317 GB, free: 8.273 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.3842, allocations: 0 / 1.317 GB, free: 8.273 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.3842, allocations: 7.922 kB / 1.317 GB, free: 8.266 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 4.208e-05/0.3843, allocations: 4 kB / 1.317 GB, free: 8.262 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.3843, allocations: 19.92 kB / 1.317 GB, free: 8.242 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.3844, allocations: 8 kB / 1.317 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.3845, allocations: 0 / 1.317 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.3845, allocations: 15.92 kB / 1.317 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3845, allocations: 0 / 1.317 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.772e-06/0.3845, allocations: 8 kB / 1.317 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.3845, allocations: 3.984 kB / 1.317 GB, free: 8.207 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3846, allocations: 7.938 kB / 1.317 GB, free: 8.199 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.3846, allocations: 15.97 kB / 1.318 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3847, allocations: 3.938 kB / 1.318 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.3847, allocations: 0 / 1.318 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.749e-06/0.3847, allocations: 0 / 1.318 GB, free: 8.18 MB / 1.014 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.0004212/0.3851, allocations: 252.5 kB / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3851, allocations: 12.03 kB / 1.318 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3851, allocations: 8.891 kB / 1.318 GB, free: 7.883 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3853, allocations: 110.5 kB / 1.318 GB, free: 7.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3853, allocations: 4.375 kB / 1.318 GB, free: 7.746 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3853, allocations: 4.312 kB / 1.318 GB, free: 7.742 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3854, allocations: 42.23 kB / 1.318 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3854, allocations: 192 / 1.318 GB, free: 7.695 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3855, allocations: 3.938 kB / 1.318 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.3855, allocations: 0 / 1.318 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3856, allocations: 31.97 kB / 1.318 GB, free: 7.66 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3858, allocations: 124.8 kB / 1.318 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.3859, allocations: 26.59 kB / 1.318 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.3859, allocations: 28.84 kB / 1.318 GB, free: 7.43 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.386, allocations: 0 / 1.318 GB, free: 7.43 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.386, allocations: 42.48 kB / 1.318 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.386, allocations: 0 / 1.318 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0002916/0.3863, allocations: 73.59 kB / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3863, allocations: 51.41 kB / 1.318 GB, free: 7.238 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.3864, allocations: 101.8 kB / 1.318 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3864, allocations: 25.83 kB / 1.318 GB, free: 7.098 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.3865, allocations: 84.14 kB / 1.319 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3865, allocations: 7.953 kB / 1.319 GB, free: 7.004 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.3865, allocations: 13.72 kB / 1.319 GB, free: 6.984 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001479/0.3867, allocations: 314.8 kB / 1.319 GB, free: 6.668 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.3868, allocations: 15.92 kB / 1.319 GB, free: 6.652 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.3868, allocations: 15.98 kB / 1.319 GB, free: 6.637 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.387, allocations: 36.89 kB / 1.319 GB, free: 6.598 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.387, allocations: 0 / 1.319 GB, free: 6.598 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.000174/0.3872, allocations: 61.66 kB / 1.319 GB, free: 6.531 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3872, allocations: 4 kB / 1.319 GB, free: 6.527 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3872, allocations: 7.938 kB / 1.319 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3872, allocations: 0 / 1.319 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.3873, allocations: 12.02 kB / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3873, allocations: 0 / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.3873, allocations: 4 kB / 1.319 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3873, allocations: 3.938 kB / 1.319 GB, free: 6.5 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.582e-05/0.3874, allocations: 114.4 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.3874, allocations: 3.984 kB / 1.319 GB, free: 6.375 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3875, allocations: 11.22 kB / 1.319 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3875, allocations: 3.984 kB / 1.319 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3875, allocations: 4 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3875, allocations: 4 kB / 1.319 GB, free: 6.348 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3876, allocations: 120.8 kB / 1.319 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3876, allocations: 0 / 1.319 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.3876, allocations: 11.98 kB / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3876, allocations: 0 / 1.319 GB, free: 6.176 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3876, allocations: 3.938 kB / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3876, allocations: 0 / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3876, allocations: 0 / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.3878, allocations: 85.09 kB / 1.319 GB, free: 6.07 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.3878, allocations: 11.89 kB / 1.319 GB, free: 6.059 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3879, allocations: 3.938 kB / 1.319 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.3879, allocations: 11.98 kB / 1.319 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3879, allocations: 3.938 kB / 1.319 GB, free: 6.039 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3879, allocations: 0 / 1.319 GB, free: 6.039 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.982e-05/0.388, allocations: 83.31 kB / 1.319 GB, free: 5.957 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.388, allocations: 0 / 1.319 GB, free: 5.957 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001751/0.3882, allocations: 4 kB / 1.319 GB, free: 5.953 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.0001309/0.3883, allocations: 95.23 kB / 1.32 GB, free: 5.848 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002009/0.3885, allocations: 31.97 kB / 1.32 GB, free: 5.816 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3885, allocations: 0 / 1.32 GB, free: 5.816 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.3886, allocations: 20.05 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3888, allocations: 4 kB / 1.32 GB, free: 5.793 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.3891, allocations: 101.5 kB / 1.32 GB, free: 5.668 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3894, allocations: 0.6806 MB / 1.32 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.084e-05/0.3894, allocations: 0 / 1.32 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.3894, allocations: 7.438 kB / 1.32 GB, free: 4.953 MB / 1.014 GB
Notification: Performance of SimCode: time 2.7e-07/0.3894, allocations: 64 / 1.32 GB, free: 4.953 MB / 1.014 GB
Notification: Performance of Templates: time 0.002638/0.3921, allocations: 425.3 kB / 1.321 GB, free: 4.543 MB / 1.014 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=800  -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/jenkins/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: 8.864165759645402]