Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.17 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003162/0.3704, allocations: 1.299 MB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3734, allocations: 1.696 MB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.3737, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3739, allocations: 27.61 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3743, allocations: 75.34 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3761, allocations: 0.6377 MB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008271/0.3769, allocations: 0.7954 MB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3772, allocations: 84.45 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.3775, allocations: 295.4 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3778, allocations: 239.2 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.3779, allocations: 72 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3781, allocations: 83.98 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.3782, allocations: 87.67 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.3785, allocations: 263.1 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.3792, allocations: 0.6781 MB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3793, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3793, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3793, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 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.001463/0.3808, allocations: 0.8633 MB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3808, allocations: 12.03 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.381, allocations: 48.55 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.3825, allocations: 471.1 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.3825, allocations: 28.38 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.3826, allocations: 48.36 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3831, allocations: 216.6 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3832, allocations: 7.875 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3832, allocations: 11.98 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3832, allocations: 4 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.3835, allocations: 111.9 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3848, allocations: 0.9569 MB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.3855, allocations: 228.2 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3858, allocations: 114.5 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3859, allocations: 4 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/0.3864, allocations: 303.2 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.164e-06/0.3865, allocations: 0 / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001239/0.3877, allocations: 450.7 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.3878, allocations: 110.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3881, allocations: 266.9 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.3882, allocations: 45.7 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3883, allocations: 160.8 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.3884, allocations: 102.6 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.3887, allocations: 150 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3888, allocations: 346.8 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.3894, allocations: 232.8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.39, allocations: 380.7 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.391, allocations: 0.586 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.391, allocations: 0 / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001622/0.3926, allocations: 0.8438 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.3928, allocations: 183.6 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3928, allocations: 4.188 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.3928, allocations: 7.938 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3931, allocations: 60.22 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3931, allocations: 11.92 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.3941, allocations: 179.4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.3941, allocations: 43.97 kB / 1.082 GB, free: 12.03 MB / 0.8419 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.0002687/0.3944, allocations: 175.5 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.3945, allocations: 31.62 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.3946, allocations: 37.8 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3946, allocations: 4 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.3946, allocations: 4 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.3946, allocations: 3.984 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.3961, allocations: 0.9154 MB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3961, allocations: 4 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3964, allocations: 47.89 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3964, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3964, allocations: 12 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3964, allocations: 3.984 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3964, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3976, allocations: 0.7136 MB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.3977, allocations: 108.7 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3978, allocations: 11.94 kB / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.398, allocations: 20.02 kB / 1.084 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.3981, allocations: 27.97 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3981, allocations: 23.98 kB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001859/0.3983, allocations: 178 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 0 / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005484/0.3989, allocations: 115.8 kB / 1.084 GB, free: 9.496 MB / 0.8419 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.0002527/0.3991, allocations: 127.6 kB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.4005, allocations: 0.8557 MB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4005, allocations: 0 / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.4009, allocations: 159.8 kB / 1.085 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.4017, allocations: 113.2 kB / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4029, allocations: 0.5974 MB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4032, allocations: 0.7767 MB / 1.087 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000211/0.4034, allocations: 55.34 kB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.4035, allocations: 35.44 kB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4035, allocations: 0 / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of Templates: time 0.01233/0.4158, allocations: 6.966 MB / 1.093 GB, free: 15.77 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1)