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.001291/0.001291, 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.001657/0.001657, allocations: 195.4 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.34 kB / 0.9114 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3758, 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.002709/0.3785, allocations: 1.351 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.3814, allocations: 1.759 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3815, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.026e-05/0.3816, allocations: 19.8 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.3819, allocations: 67.53 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3834, allocations: 0.5997 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.3839, allocations: 0.6626 MB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3841, allocations: 68.5 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.3844, allocations: 259.3 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3847, allocations: 227.1 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.3848, allocations: 36 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3849, allocations: 43.98 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.385, allocations: 59.7 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.3852, allocations: 231.1 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.3859, allocations: 0.6585 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3859, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3859, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3859, 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.001364/0.3873, allocations: 0.8749 MB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3873, allocations: 12.03 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.3875, allocations: 48.56 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.389, allocations: 467.2 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.389, allocations: 24.38 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.3891, allocations: 48.36 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.3896, allocations: 204.7 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3896, allocations: 15.88 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3896, allocations: 7.984 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3897, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.39, allocations: 119.9 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3913, allocations: 0.9569 MB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.3921, allocations: 236.2 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3924, allocations: 106.5 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.3924, allocations: 4 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.3931, allocations: 295.2 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.3931, allocations: 4 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001221/0.3943, allocations: 455 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.3944, allocations: 114.8 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.3947, allocations: 262.9 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.3948, allocations: 49.64 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.395, allocations: 160.9 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3951, allocations: 102.6 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.3955, allocations: 154 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3956, allocations: 342.8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.3962, allocations: 220.9 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.3969, allocations: 396.6 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3979, allocations: 0.5707 MB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3979, allocations: 4 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001726/0.3997, allocations: 0.8465 MB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.3999, allocations: 182.2 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3999, allocations: 4 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.3999, allocations: 11.94 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4002, allocations: 48.28 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.4002, allocations: 20 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.4011, allocations: 183.4 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.4012, allocations: 39.97 kB / 1.081 GB, free: 12.83 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.0003331/0.4016, allocations: 176.1 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.4016, allocations: 31.62 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.4017, allocations: 41.8 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4018, allocations: 4 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4018, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4018, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4033, allocations: 0.9222 MB / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4033, allocations: 0 / 1.082 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.4036, allocations: 43.91 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.4036, allocations: 7.984 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4036, allocations: 8 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4036, allocations: 7.938 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4037, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4049, allocations: 0.7079 MB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.405, allocations: 112.7 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.405, allocations: 8 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.4053, allocations: 20.02 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.4054, allocations: 23.97 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.4054, allocations: 19.98 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001717/0.4056, allocations: 182 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4056, allocations: 0 / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005288/0.4061, 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.0002943/0.4064, allocations: 127.2 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.4078, allocations: 0.8345 MB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4078, allocations: 8.25 kB / 1.084 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.4082, allocations: 157 kB / 1.084 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.409, allocations: 112.9 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.001251/0.4103, allocations: 0.6715 MB / 1.085 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4107, allocations: 0.7769 MB / 1.086 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.4109, allocations: 51.28 kB / 1.086 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.411, allocations: 35.42 kB / 1.086 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.411, allocations: 0 / 1.086 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of Templates: time 0.01308/0.4241, allocations: 6.652 MB / 1.092 GB, free: 0.8398 MB / 0.8419 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)