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.0009201/0.0009206, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006486/0.006486, allocations: 170 kB / 16.26 MB, free: 6.613 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004396, allocations: 12.34 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3739, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001609/0.3755, allocations: 1 MB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3778, allocations: 1.759 MB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.3779, allocations: 4 kB / 1.077 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.378, allocations: 15.81 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3782, allocations: 63.53 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3796, allocations: 0.606 MB / 1.078 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.3802, allocations: 0.6626 MB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3804, allocations: 68.48 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.3807, allocations: 247.3 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.381, allocations: 215.2 kB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.3811, allocations: 32 kB / 1.079 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3812, allocations: 47.98 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.3813, allocations: 59.69 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.3816, allocations: 248.8 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.3822, allocations: 0.635 MB / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3822, allocations: 0 / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3822, allocations: 0 / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3822, allocations: 0 / 1.08 GB, free: 1.891 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.001221/0.3834, allocations: 0.7834 MB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3835, allocations: 16.03 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3836, allocations: 48.56 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.3852, allocations: 479.2 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.3852, allocations: 24.38 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3853, allocations: 48.36 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.3858, allocations: 208.7 kB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3858, allocations: 11.88 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3859, allocations: 11.92 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3859, allocations: 4 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.3862, allocations: 127.9 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3875, allocations: 0.957 MB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.3882, allocations: 228.1 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.3885, allocations: 106.5 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3885, allocations: 11.94 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/0.3891, allocations: 295.2 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/0.3891, allocations: 0 / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001131/0.3902, allocations: 454.9 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.3903, allocations: 114.8 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3906, allocations: 258.9 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.3907, allocations: 49.7 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3908, allocations: 160.8 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.3909, allocations: 102.6 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.391, allocations: 57.69 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3912, allocations: 350.8 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.3918, allocations: 224.8 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.3924, allocations: 388.7 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.3934, allocations: 0.5682 MB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3934, allocations: 0 / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00156/0.395, allocations: 0.8522 MB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.3951, allocations: 190.2 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3951, allocations: 4 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3951, allocations: 7.938 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3954, allocations: 47.91 kB / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.3954, allocations: 15.92 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3964, allocations: 243.4 kB / 1.087 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.3965, allocations: 39.97 kB / 1.087 GB, free: 9.949 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.0002304/0.3967, allocations: 175.5 kB / 1.087 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.3968, allocations: 35.62 kB / 1.087 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.3969, allocations: 37.8 kB / 1.087 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3969, allocations: 4 kB / 1.087 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3969, allocations: 0 / 1.087 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3969, allocations: 3.984 kB / 1.087 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3983, allocations: 0.9193 MB / 1.088 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3983, allocations: 0 / 1.088 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3986, allocations: 43.89 kB / 1.088 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.3986, allocations: 4 kB / 1.088 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.3986, allocations: 8 kB / 1.088 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3986, allocations: 7.984 kB / 1.088 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3986, allocations: 4 kB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3997, allocations: 0.7135 MB / 1.089 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.3999, allocations: 108.7 kB / 1.089 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3999, allocations: 8.031 kB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4002, allocations: 24.02 kB / 1.089 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.4002, allocations: 27.95 kB / 1.089 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4003, allocations: 19.98 kB / 1.089 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001767/0.4005, allocations: 182 kB / 1.089 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4005, allocations: 4.188 kB / 1.089 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000562/0.401, allocations: 115.8 kB / 1.089 GB, free: 7.406 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.000239/0.4013, allocations: 123 kB / 1.089 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.4026, allocations: 0.836 MB / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4026, allocations: 0 / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.403, allocations: 155.8 kB / 1.09 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.4038, allocations: 110.2 kB / 1.09 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.405, allocations: 0.6904 MB / 1.091 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4054, allocations: 0.773 MB / 1.092 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.4056, allocations: 51.28 kB / 1.092 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.4057, allocations: 39.42 kB / 1.092 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.4057, allocations: 0 / 1.092 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of Templates: time 0.01214/0.4178, allocations: 6.629 MB / 1.098 GB, free: 13.96 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)