Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001801/0.001801, allocations: 114 kB / 18.84 MB, free: 3.008 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.00212/0.00212, allocations: 189.4 kB / 22.1 MB, free: 4.629 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.549/1.549, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.434/3.434, allocations: 495.8 MB / 0.783 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.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 66.92 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4539, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002784/0.4567, allocations: 1.299 MB / 1.308 GB, free: 0.5039 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002493/0.4592, allocations: 1.7 MB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.4593, allocations: 4 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.961e-05/0.4594, allocations: 27.61 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.4596, allocations: 99.28 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4611, allocations: 0.6479 MB / 1.31 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0008366/0.462, allocations: 0.7525 MB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4621, allocations: 48.3 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.4625, allocations: 311.2 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.4629, allocations: 275.1 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.463, allocations: 72 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.4632, allocations: 87.98 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.4632, allocations: 71.75 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.4635, allocations: 267.1 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.4643, allocations: 0.6931 MB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4643, allocations: 0 / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.074e-06/0.4643, allocations: 4 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.125e-06/0.4643, allocations: 3.938 kB / 1.313 GB, free: 11.46 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: 35
 * Number of variables: 35
Notification: Performance of Generate backend data structure: time 0.001485/0.4658, allocations: 0.873 MB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4658, allocations: 16.02 kB / 1.314 GB, free: 10.49 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.466, allocations: 48.7 kB / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.4675, allocations: 389.1 kB / 1.314 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.4675, allocations: 28.38 kB / 1.314 GB, free: 10.01 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4676, allocations: 56.25 kB / 1.314 GB, free: 9.957 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.4681, allocations: 214.5 kB / 1.315 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4681, allocations: 7.875 kB / 1.315 GB, free: 9.727 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.4682, allocations: 11.98 kB / 1.315 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4682, allocations: 0 / 1.315 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.4685, allocations: 115.9 kB / 1.315 GB, free: 9.602 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.4699, allocations: 0.9249 MB / 1.316 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.4706, allocations: 212.2 kB / 1.316 GB, free: 8.391 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.4709, allocations: 102.5 kB / 1.316 GB, free: 8.281 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.4709, allocations: 8 kB / 1.316 GB, free: 8.273 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000562/0.4715, allocations: 297.3 kB / 1.316 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.4715, allocations: 0 / 1.316 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of matching and sorting (n=37): time 0.00121/0.4727, allocations: 462.7 kB / 1.317 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.4728, allocations: 110.8 kB / 1.317 GB, free: 7.371 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4731, allocations: 276.1 kB / 1.317 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.4732, allocations: 45.7 kB / 1.317 GB, free: 7.039 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.4733, allocations: 157 kB / 1.317 GB, free: 6.883 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4734, allocations: 107.2 kB / 1.317 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.4737, allocations: 154 kB / 1.317 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001758/0.4739, allocations: 346.8 kB / 1.318 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.4745, allocations: 224.8 kB / 1.318 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/0.4752, allocations: 384.3 kB / 1.318 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.4762, allocations: 0.5632 MB / 1.319 GB, free: 4.965 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4762, allocations: 4 kB / 1.319 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.001653/0.4778, allocations: 0.8593 MB / 1.32 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.478, allocations: 190.2 kB / 1.32 GB, free: 3.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.478, allocations: 4 kB / 1.32 GB, free: 3.836 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.478, allocations: 11.94 kB / 1.32 GB, free: 3.824 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.4783, allocations: 51.91 kB / 1.32 GB, free: 3.773 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4783, allocations: 7.938 kB / 1.32 GB, free: 3.766 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.4793, allocations: 183.5 kB / 1.32 GB, free: 3.586 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.4794, allocations: 43.97 kB / 1.32 GB, free: 3.543 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * Number of states: 0 ()
 * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (47):
 * Single equations (assignments): 41
 * Array equations: 0
 * Algorithm blocks: 6
 * 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 0.0002857/0.4796, allocations: 175.5 kB / 1.32 GB, free: 3.359 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.4797, allocations: 31.81 kB / 1.32 GB, free: 3.328 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.4798, allocations: 37.73 kB / 1.32 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4798, allocations: 4 kB / 1.32 GB, free: 3.285 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.4798, allocations: 192 / 1.32 GB, free: 3.285 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4798, allocations: 4 kB / 1.32 GB, free: 3.281 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.4814, allocations: 0.9019 MB / 1.321 GB, free: 2.324 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4814, allocations: 0 / 1.321 GB, free: 2.324 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4816, allocations: 43.91 kB / 1.321 GB, free: 2.281 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4816, allocations: 3.938 kB / 1.321 GB, free: 2.277 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4816, allocations: 11.98 kB / 1.321 GB, free: 2.266 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.4816, allocations: 8 kB / 1.321 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4816, allocations: 0 / 1.321 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4829, allocations: 0.719 MB / 1.322 GB, free: 1.523 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4829, allocations: 27.81 kB / 1.322 GB, free: 1.496 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.483, allocations: 8 kB / 1.322 GB, free: 1.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.4832, allocations: 15.98 kB / 1.322 GB, free: 1.473 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.4833, allocations: 31.94 kB / 1.322 GB, free: 1.441 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4833, allocations: 19.98 kB / 1.322 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001826/0.4835, allocations: 183.1 kB / 1.322 GB, free: 1.246 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4835, allocations: 0 / 1.322 GB, free: 1.246 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0005348/0.484, allocations: 119.9 kB / 1.322 GB, free: 1.129 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal)
 * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (37):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 6
 * 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.0002349/0.4843, allocations: 116 kB / 1.323 GB, free: 1.008 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001352/0.4856, allocations: 0.7512 MB / 1.323 GB, free: 188 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4856, allocations: 4 kB / 1.323 GB, free: 184 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.486, allocations: 141.8 kB / 1.323 GB, free: 44 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.4868, allocations: 118.1 kB / 1.324 GB, free: 15.93 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.488, allocations: 0.5994 MB / 1.324 GB, free: 15.29 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.4885, allocations: 0.7689 MB / 1.325 GB, free: 14.49 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001856/0.4887, allocations: 59.34 kB / 1.325 GB, free: 14.44 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.4887, allocations: 39.42 kB / 1.325 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of SimCode: time 6.61e-07/0.4887, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB
Notification: Performance of Templates: time 0.01512/0.5039, allocations: 7.172 MB / 1.332 GB, free: 7.316 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.8803353253752]