Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001653/0.001653, allocations: 110 kB / 18.94 MB, free: 2.949 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.001886/0.001886, allocations: 182.9 kB / 22.23 MB, free: 5.137 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.499/1.499, allocations: 225.6 MB / 251 MB, free: 13.01 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.299/3.299, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 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-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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.17 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3737, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002708/0.3764, allocations: 1.298 MB / 1.317 GB, free: 8.371 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002359/0.3787, allocations: 1.716 MB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3788, allocations: 0 / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.3789, allocations: 27.67 kB / 1.319 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.3791, allocations: 91.34 kB / 1.319 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3806, allocations: 0.6474 MB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007899/0.3814, allocations: 0.7565 MB / 1.32 GB, free: 5.137 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3815, allocations: 52.86 kB / 1.321 GB, free: 5.078 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.3819, allocations: 303.3 kB / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.3822, allocations: 279.1 kB / 1.321 GB, free: 4.508 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3824, allocations: 72 kB / 1.321 GB, free: 4.438 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.3825, allocations: 91.97 kB / 1.321 GB, free: 4.348 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3826, allocations: 75.7 kB / 1.321 GB, free: 4.273 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.3829, allocations: 263.1 kB / 1.322 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.3836, allocations: 0.6931 MB / 1.322 GB, free: 3.32 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3836, allocations: 4 kB / 1.322 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.3836, allocations: 3.938 kB / 1.322 GB, free: 3.312 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.663e-06/0.3836, allocations: 0 / 1.322 GB, free: 3.312 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.001384/0.385, allocations: 0.8768 MB / 1.323 GB, free: 2.352 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.385, allocations: 12.03 kB / 1.323 GB, free: 2.34 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3851, allocations: 44.75 kB / 1.323 GB, free: 2.297 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3865, allocations: 393 kB / 1.324 GB, free: 1.891 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.3865, allocations: 28.38 kB / 1.324 GB, free: 1.863 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3866, allocations: 48.36 kB / 1.324 GB, free: 1.816 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.3871, allocations: 216.6 kB / 1.324 GB, free: 1.59 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3871, allocations: 3.938 kB / 1.324 GB, free: 1.586 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3871, allocations: 11.98 kB / 1.324 GB, free: 1.574 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3871, allocations: 0 / 1.324 GB, free: 1.574 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3875, allocations: 119.9 kB / 1.324 GB, free: 1.457 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3888, allocations: 0.9171 MB / 1.325 GB, free: 500 kB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.3895, allocations: 228.1 kB / 1.325 GB, free: 244 kB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3897, allocations: 98.53 kB / 1.325 GB, free: 136 kB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3898, allocations: 4 kB / 1.325 GB, free: 132 kB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.3903, allocations: 302.9 kB / 1.325 GB, free: 15.81 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.3903, allocations: 0 / 1.325 GB, free: 15.81 MB / 1.029 GB
Notification: Performance of matching and sorting (n=37): time 0.001179/0.3915, allocations: 468.6 kB / 1.326 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.3916, allocations: 114.8 kB / 1.326 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3919, allocations: 268.1 kB / 1.326 GB, free: 14.94 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.3919, allocations: 45.7 kB / 1.326 GB, free: 14.89 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3921, allocations: 157 kB / 1.326 GB, free: 14.73 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.3922, allocations: 107.1 kB / 1.327 GB, free: 14.63 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.3924, allocations: 154 kB / 1.327 GB, free: 14.47 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001762/0.3926, allocations: 346.8 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.3931, allocations: 224.8 kB / 1.327 GB, free: 13.91 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.3938, allocations: 384.3 kB / 1.328 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.3947, allocations: 0.5671 MB / 1.328 GB, free: 12.82 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3947, allocations: 4 kB / 1.328 GB, free: 12.81 MB / 1.029 GB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.001645/0.3964, allocations: 0.854 MB / 1.329 GB, free: 11.92 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.3965, allocations: 186.2 kB / 1.329 GB, free: 11.7 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3965, allocations: 4 kB / 1.329 GB, free: 11.7 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3966, allocations: 11.94 kB / 1.329 GB, free: 11.68 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3968, allocations: 51.84 kB / 1.329 GB, free: 11.63 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.3968, allocations: 12.17 kB / 1.329 GB, free: 11.62 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.3976, allocations: 175.5 kB / 1.329 GB, free: 11.45 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.3977, allocations: 47.91 kB / 1.329 GB, free: 11.4 MB / 1.029 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.0002292/0.398, allocations: 171.5 kB / 1.33 GB, free: 11.23 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.398, allocations: 43.73 kB / 1.33 GB, free: 11.18 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.3981, allocations: 37.73 kB / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3981, allocations: 4 kB / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3981, allocations: 0 / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3981, allocations: 3.984 kB / 1.33 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.3995, allocations: 0.8942 MB / 1.331 GB, free: 10.19 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3995, allocations: 0 / 1.331 GB, free: 10.19 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3997, allocations: 47.89 kB / 1.331 GB, free: 10.14 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3997, allocations: 4 kB / 1.331 GB, free: 10.14 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3997, allocations: 12 kB / 1.331 GB, free: 10.12 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3997, allocations: 4 kB / 1.331 GB, free: 10.12 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3997, allocations: 3.984 kB / 1.331 GB, free: 10.12 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4008, allocations: 0.7122 MB / 1.331 GB, free: 9.387 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.4009, allocations: 31.81 kB / 1.331 GB, free: 9.355 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4009, allocations: 4 kB / 1.331 GB, free: 9.352 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.4011, allocations: 20.02 kB / 1.331 GB, free: 9.332 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.4012, allocations: 27.95 kB / 1.331 GB, free: 9.305 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.4012, allocations: 19.98 kB / 1.331 GB, free: 9.285 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001692/0.4014, allocations: 179.1 kB / 1.332 GB, free: 9.113 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 1.332 GB, free: 9.113 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004958/0.4019, allocations: 119.9 kB / 1.332 GB, free: 8.996 MB / 1.029 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.0002019/0.4021, allocations: 119.7 kB / 1.332 GB, free: 8.871 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001248/0.4033, allocations: 0.7594 MB / 1.333 GB, free: 8.039 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4034, allocations: 0 / 1.333 GB, free: 8.039 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.4037, allocations: 135.8 kB / 1.333 GB, free: 7.906 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.4044, allocations: 120 kB / 1.333 GB, free: 7.789 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4055, allocations: 0.5991 MB / 1.333 GB, free: 7.148 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4059, allocations: 0.7689 MB / 1.334 GB, free: 6.352 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001843/0.4061, allocations: 63.34 kB / 1.334 GB, free: 6.293 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.4062, allocations: 43.36 kB / 1.334 GB, free: 6.25 MB / 1.029 GB
Notification: Performance of SimCode: time 3.11e-07/0.4062, allocations: 0 / 1.334 GB, free: 6.25 MB / 1.029 GB
Notification: Performance of Templates: time 0.01291/0.4191, allocations: 7.177 MB / 1.341 GB, free: 15.16 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.517605484463274]