Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002197/0.002197, allocations: 113.9 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.002053/0.002053, allocations: 188.3 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.503/1.503, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 59.91 kB / 1.11 GB, free: 6.262 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9666/0.9689, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003177/0.9721, allocations: 1.3 MB / 1.276 GB, free: 2.883 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.002898/0.975, allocations: 1.706 MB / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.9753, allocations: 0 / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.9754, allocations: 27.61 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.9757, allocations: 91.34 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.9775, allocations: 0.6541 MB / 1.278 GB, free: 420 kB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.001106/0.9786, allocations: 0.7565 MB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.9788, allocations: 56.91 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.9794, allocations: 307.3 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.9799, allocations: 275.1 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.9801, allocations: 72 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.9803, allocations: 87.97 kB / 1.28 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.9804, allocations: 75.7 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.9807, allocations: 259.1 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.9816, allocations: 0.6955 MB / 1.281 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9816, allocations: 0 / 1.281 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.893e-06/0.9816, allocations: 4 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.539e-05/0.9816, allocations: 0 / 1.281 GB, free: 13.84 MB / 0.9825 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.001757/0.9834, allocations: 0.8692 MB / 1.281 GB, free: 12.89 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9834, allocations: 11.98 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.9836, allocations: 52.7 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.9851, allocations: 400.9 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.9851, allocations: 28.38 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.9853, allocations: 44.31 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.9858, allocations: 221.7 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9858, allocations: 3.938 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.9858, allocations: 7.984 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9858, allocations: 8 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.9862, allocations: 119.9 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.9877, allocations: 0.925 MB / 1.283 GB, free: 11 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.9885, allocations: 224 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.9888, allocations: 94.53 kB / 1.283 GB, free: 10.65 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.9888, allocations: 7.984 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006628/0.9895, allocations: 297.6 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=37): time 3.005e-06/0.9895, allocations: 0 / 1.284 GB, free: 10.33 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=37): time 0.001458/0.991, allocations: 457.1 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.9911, allocations: 118.8 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.9914, allocations: 264.2 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.9916, allocations: 53.69 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.9918, allocations: 153 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.9919, allocations: 107.1 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.9923, allocations: 150.1 kB / 1.285 GB, free: 9 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001909/0.9925, allocations: 346.8 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.9931, allocations: 228.8 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.9938, allocations: 384.3 kB / 1.286 GB, free: 7.98 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.9949, allocations: 0.5714 MB / 1.287 GB, free: 7.332 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9949, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.001758/0.9966, allocations: 0.8547 MB / 1.287 GB, free: 6.438 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.9968, allocations: 184.4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.9968, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.9968, allocations: 7.938 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.9971, allocations: 60.22 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.9971, allocations: 7.984 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009823/0.9981, allocations: 183.5 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.9982, allocations: 39.97 kB / 1.288 GB, free: 5.926 MB / 0.9825 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.0003059/0.9985, allocations: 175.5 kB / 1.288 GB, free: 5.746 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.9986, allocations: 31.81 kB / 1.288 GB, free: 5.715 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.9987, allocations: 41.72 kB / 1.288 GB, free: 5.672 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.9987, allocations: 8 kB / 1.288 GB, free: 5.664 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.9987, allocations: 0 / 1.288 GB, free: 5.664 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.9987, allocations: 3.984 kB / 1.288 GB, free: 5.66 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1, allocations: 0.8951 MB / 1.289 GB, free: 4.711 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1, allocations: 0 / 1.289 GB, free: 4.711 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/1.001, allocations: 47.89 kB / 1.289 GB, free: 4.664 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.001, allocations: 4 kB / 1.289 GB, free: 4.66 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/1.001, allocations: 8 kB / 1.289 GB, free: 4.652 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/1.001, allocations: 3.984 kB / 1.289 GB, free: 4.648 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.001, allocations: 7.938 kB / 1.289 GB, free: 4.641 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.002, allocations: 0.7092 MB / 1.29 GB, free: 3.914 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/1.002, allocations: 27.94 kB / 1.29 GB, free: 3.887 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/1.002, allocations: 12 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/1.002, allocations: 23.95 kB / 1.29 GB, free: 3.852 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/1.002, allocations: 27.95 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/1.002, allocations: 19.98 kB / 1.29 GB, free: 3.805 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0002256/1.003, allocations: 179.1 kB / 1.29 GB, free: 3.629 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.003, allocations: 0 / 1.29 GB, free: 3.629 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0006439/1.003, allocations: 115.9 kB / 1.29 GB, free: 3.516 MB / 0.9825 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.0002364/1.003, allocations: 119.1 kB / 1.29 GB, free: 3.391 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.001531/1.005, allocations: 0.7555 MB / 1.291 GB, free: 2.562 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.005, allocations: 4.188 kB / 1.291 GB, free: 2.559 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003611/1.005, allocations: 140.1 kB / 1.291 GB, free: 2.422 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/1.006, allocations: 117.2 kB / 1.291 GB, free: 2.305 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.007, allocations: 0.5966 MB / 1.292 GB, free: 1.672 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/1.008, allocations: 0.7689 MB / 1.293 GB, free: 0.875 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0002386/1.008, allocations: 59.34 kB / 1.293 GB, free: 0.8203 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/1.008, allocations: 39.36 kB / 1.293 GB, free: 0.7852 MB / 0.9825 GB
Notification: Performance of SimCode: time 1.293e-06/1.008, allocations: 4 kB / 1.293 GB, free: 0.7812 MB / 0.9825 GB
Notification: Performance of Templates: time 0.0164/1.025, allocations: 7.171 MB / 1.3 GB, free: 9.703 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.64630083553493]