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.001409/0.001409, 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.001762/0.001762, allocations: 192.5 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.436/1.436, 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.866/2.866, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.53 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3983, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002818/0.4011, allocations: 1.303 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.4034, allocations: 1.693 MB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.4036, allocations: 4 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.103e-05/0.4037, allocations: 27.61 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.404, allocations: 83.34 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.4054, allocations: 0.6349 MB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000741/0.4062, allocations: 0.7954 MB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.4064, allocations: 76.47 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.4067, allocations: 295.4 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.407, allocations: 239.2 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.4071, allocations: 72 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.4073, allocations: 95.98 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.4074, allocations: 75.67 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.4077, allocations: 267.1 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.4084, allocations: 0.6781 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4084, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4084, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4084, allocations: 0 / 1.074 GB, free: 4.148 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.001304/0.4097, allocations: 0.8633 MB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4098, allocations: 8.031 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4099, allocations: 52.55 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4113, allocations: 471.2 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.4114, allocations: 24.38 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.4115, allocations: 44.36 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.412, allocations: 216.7 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.412, allocations: 11.81 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.412, allocations: 7.984 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.412, allocations: 4 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4124, allocations: 115.9 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4136, allocations: 0.9608 MB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.4143, allocations: 228.2 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.4146, allocations: 106.5 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.4146, allocations: 11.94 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.4152, allocations: 299.2 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.4152, allocations: 0 / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001148/0.4163, allocations: 451.8 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.4164, allocations: 114.8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4167, allocations: 262.9 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.4167, allocations: 49.7 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4169, allocations: 160.8 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.417, allocations: 94.61 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.4172, allocations: 154 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4174, allocations: 346.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.4179, allocations: 228.8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.4185, allocations: 384.7 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/0.4194, allocations: 0.5772 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4194, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001567/0.421, allocations: 0.8425 MB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4211, allocations: 186.2 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.4212, allocations: 4 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4212, allocations: 12.31 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.4214, allocations: 51.91 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.4215, allocations: 11.92 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.4224, allocations: 179.4 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.4225, allocations: 47.97 kB / 1.082 GB, free: 12.11 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.0002312/0.4227, allocations: 167.5 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.4228, allocations: 35.62 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.4229, allocations: 37.8 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4229, allocations: 4 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4229, allocations: 0 / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4229, allocations: 3.984 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4242, allocations: 0.9271 MB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4243, allocations: 0 / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4245, allocations: 47.89 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4245, allocations: 0 / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4245, allocations: 8 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4245, allocations: 7.984 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4246, allocations: 4 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.4257, allocations: 0.7119 MB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.4258, allocations: 108.7 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.4258, allocations: 11.94 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.4261, allocations: 20.02 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.4262, allocations: 24.16 kB / 1.084 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.4262, allocations: 19.98 kB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001868/0.4264, allocations: 185.9 kB / 1.084 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4264, allocations: 4 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005761/0.427, allocations: 115.8 kB / 1.084 GB, free: 9.574 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.000261/0.4272, allocations: 127.7 kB / 1.084 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.4286, allocations: 0.8532 MB / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4286, allocations: 0 / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.429, allocations: 159.8 kB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.4298, allocations: 119.4 kB / 1.085 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.431, allocations: 0.5925 MB / 1.086 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4313, allocations: 0.7767 MB / 1.087 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.4315, allocations: 55.27 kB / 1.087 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.4316, allocations: 31.44 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.4316, allocations: 4 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.01223/0.4439, allocations: 6.977 MB / 1.093 GB, free: 15.84 MB / 0.8575 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)