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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002206/0.002206, allocations: 189.7 kB / 16.14 MB, free: 6.688 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 65.94 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3734, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002486/0.3759, allocations: 1.347 MB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3783, allocations: 1.771 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.3784, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.719e-05/0.3785, allocations: 19.8 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3787, allocations: 59.55 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.38, allocations: 0.6053 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.3806, allocations: 0.6627 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3808, allocations: 72.48 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3811, allocations: 259.2 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.3813, allocations: 219.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.3814, allocations: 36 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3816, allocations: 47.98 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.3817, allocations: 63.73 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.3819, allocations: 227.1 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.3826, allocations: 0.6585 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3826, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3826, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3826, allocations: 0 / 1.073 GB, free: 4.879 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.001419/0.3841, allocations: 0.8671 MB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3841, allocations: 12.02 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.3843, allocations: 52.56 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.3859, allocations: 471.2 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.386, allocations: 28.36 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.3861, allocations: 40.38 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.3866, allocations: 216.6 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3866, allocations: 11.94 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3866, allocations: 4 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3866, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.387, allocations: 119.9 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.3883, allocations: 0.961 MB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.389, allocations: 231.9 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.3893, allocations: 102.5 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3893, allocations: 11.98 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.3899, allocations: 283.2 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.973e-06/0.3899, allocations: 0 / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001205/0.3911, allocations: 459.1 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.3912, allocations: 118.7 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3914, allocations: 258.9 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.3915, allocations: 53.69 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3917, allocations: 168.8 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.3918, allocations: 98.61 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.3921, allocations: 150.1 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3922, allocations: 342.8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.3928, allocations: 224.8 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.3935, allocations: 391.5 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.3945, allocations: 0.5741 MB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3945, allocations: 4 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001748/0.3962, allocations: 0.8366 MB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.3964, allocations: 186.2 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3964, allocations: 4 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.3965, allocations: 11.94 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3967, allocations: 52.02 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/0.3968, allocations: 12.31 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.3978, allocations: 187.3 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.3979, allocations: 43.97 kB / 1.081 GB, free: 12.84 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.0002787/0.3981, allocations: 177.1 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.3982, allocations: 31.62 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.3983, allocations: 41.8 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3983, allocations: 12 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3984, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3984, allocations: 3.984 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.3999, allocations: 0.9154 MB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3999, allocations: 3.984 kB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4001, allocations: 39.91 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4001, allocations: 4 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.4002, allocations: 15.98 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.4002, allocations: 4 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4002, allocations: 3.938 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.4014, allocations: 0.704 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.4015, allocations: 108.7 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.4015, allocations: 16.03 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.4018, allocations: 15.98 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.4019, allocations: 23.97 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.4019, allocations: 20.08 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001583/0.4021, allocations: 182 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4021, allocations: 0 / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000542/0.4026, allocations: 115.8 kB / 1.083 GB, free: 10.3 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.0003082/0.4029, allocations: 131.1 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.4045, allocations: 0.8341 MB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.4045, allocations: 4 kB / 1.084 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.405, allocations: 167.9 kB / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.4059, allocations: 105.1 kB / 1.084 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4074, allocations: 0.6599 MB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.4079, allocations: 0.773 MB / 1.086 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.4081, allocations: 59.2 kB / 1.086 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.4082, allocations: 35.44 kB / 1.086 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/0.4082, allocations: 0 / 1.086 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.01232/0.4205, allocations: 6.653 MB / 1.092 GB, free: 0.8438 MB / 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)