Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00154/0.00154, allocations: 99.36 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.001981, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.087/3.087, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 66.83 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003041/0.3658, allocations: 1.343 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3683, allocations: 1.689 MB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3684, allocations: 8 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.818e-05/0.3685, allocations: 7.875 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3687, allocations: 75.45 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3701, allocations: 0.6017 MB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.3709, allocations: 0.7876 MB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3711, allocations: 72.5 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3714, allocations: 307.3 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.3717, allocations: 239.2 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.3718, allocations: 75.94 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3719, allocations: 83.98 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.372, allocations: 75.69 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3723, allocations: 263.1 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.373, allocations: 0.6898 MB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.373, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.373, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.373, allocations: 0 / 1.074 GB, free: 4.453 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.001414/0.3744, allocations: 0.8672 MB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3745, allocations: 8.031 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3746, allocations: 48.56 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3761, allocations: 471.2 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3761, allocations: 24.38 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.3762, allocations: 52.3 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.3767, allocations: 212.6 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3767, allocations: 7.938 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3767, allocations: 7.984 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3767, allocations: 4 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.3771, allocations: 123.9 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3783, allocations: 0.953 MB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.379, allocations: 232.1 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.3792, allocations: 110.5 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3793, allocations: 11.98 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.3799, allocations: 287.2 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/0.3799, allocations: 0 / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001119/0.381, allocations: 458.3 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3811, allocations: 114.8 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3814, allocations: 262.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.874e-05/0.3815, allocations: 45.7 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3817, allocations: 164.8 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.3818, allocations: 98.61 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.382, allocations: 154 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3822, allocations: 346.8 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.3828, allocations: 220.8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.3834, allocations: 388.7 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.3844, allocations: 0.5811 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3844, allocations: 4 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001584/0.386, allocations: 0.8428 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.3861, allocations: 186.2 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3862, allocations: 4 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/0.3862, allocations: 11.94 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3864, allocations: 43.91 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3864, allocations: 11.94 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/0.3874, allocations: 183.4 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.3875, allocations: 43.97 kB / 1.081 GB, free: 12.42 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.0002295/0.3877, allocations: 175.5 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3878, allocations: 31.62 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.3879, allocations: 41.8 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3879, allocations: 4 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3879, allocations: 4 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3879, allocations: 0 / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.3893, allocations: 0.9198 MB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3893, allocations: 0 / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3896, allocations: 43.91 kB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.3896, allocations: 7.984 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3896, allocations: 12 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3896, allocations: 4 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3897, allocations: 0 / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.3909, allocations: 0.7117 MB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.391, allocations: 108.7 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.3911, allocations: 8 kB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3913, allocations: 20.02 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.3914, allocations: 27.97 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.3915, allocations: 19.98 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002078/0.3917, allocations: 178 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3917, allocations: 0 / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005968/0.3923, allocations: 120 kB / 1.084 GB, free: 9.883 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.0003488/0.3927, allocations: 137.1 kB / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.3941, allocations: 0.8512 MB / 1.084 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3942, allocations: 0 / 1.084 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3945, allocations: 164.6 kB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.3953, allocations: 113 kB / 1.085 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3968, allocations: 0.6737 MB / 1.085 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.3974, allocations: 0.7728 MB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.3977, allocations: 51.28 kB / 1.086 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.3978, allocations: 35.42 kB / 1.086 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3978, allocations: 4 kB / 1.086 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of Templates: time 0.01618/0.414, allocations: 6.934 MB / 1.093 GB, free: 120 kB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1)