Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, 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.001113/0.001113, allocations: 194.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.717/1.717, allocations: 251.6 MB / 0.5088 GB, free: 3.371 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.6647, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002739/0.6675, allocations: 1.381 MB / 0.7252 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.6678, allocations: 96.62 kB / 0.7253 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.6678, allocations: 0 / 0.7253 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.6679, allocations: 3.938 kB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.668, allocations: 3.984 kB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.154e-05/0.668, allocations: 8 kB / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.6681, allocations: 15.92 kB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.6681, allocations: 8 kB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.6682, allocations: 7.938 kB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.6682, allocations: 3.984 kB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.6683, allocations: 0 / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.6683, allocations: 4 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.6683, allocations: 4 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.6683, allocations: 7.938 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.52e-05/0.6684, allocations: 15.97 kB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6684, allocations: 4 kB / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6684, allocations: 0 / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6684, allocations: 0 / 0.7254 GB, free: 11.58 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004433/0.6689, allocations: 329.5 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6689, allocations: 8.031 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.669, allocations: 4.938 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6691, allocations: 164.3 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6691, allocations: 4.375 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.6691, allocations: 384 / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6693, allocations: 54.11 kB / 0.7259 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.6693, allocations: 4.188 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6693, allocations: 3.938 kB / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.6693, allocations: 0 / 0.7259 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.6695, allocations: 27.97 kB / 0.7259 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.6696, allocations: 149.7 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.6698, allocations: 38.58 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.6699, allocations: 20.91 kB / 0.7261 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.6699, allocations: 3.938 kB / 0.7261 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.6699, allocations: 34.5 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6699, allocations: 0 / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003071/0.6702, allocations: 81.58 kB / 0.7262 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6703, allocations: 51.41 kB / 0.7263 GB, free: 10.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.6704, allocations: 97.86 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.6704, allocations: 29.7 kB / 0.7264 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.6704, allocations: 88.11 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.6705, allocations: 0 / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.6705, allocations: 13.72 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6706, allocations: 319 kB / 0.7268 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.6707, allocations: 11.98 kB / 0.7268 GB, free: 9.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.6708, allocations: 19.92 kB / 0.7268 GB, free: 9.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.6709, allocations: 32.81 kB / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6709, allocations: 0 / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001674/0.6711, allocations: 65.64 kB / 0.7269 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6711, allocations: 4 kB / 0.7269 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6711, allocations: 3.938 kB / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6712, allocations: 0 / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.6713, allocations: 11.98 kB / 0.727 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6713, allocations: 0 / 0.727 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.6713, allocations: 7.984 kB / 0.727 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.6713, allocations: 4.031 kB / 0.727 GB, free: 9.703 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.893e-05/0.6714, allocations: 109.8 kB / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.6714, allocations: 3.938 kB / 0.7271 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.6715, allocations: 11.06 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.6715, allocations: 192 / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6715, allocations: 4 kB / 0.7271 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6715, allocations: 7.922 kB / 0.7271 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.6716, allocations: 161.6 kB / 0.7273 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6716, allocations: 0 / 0.7273 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.6717, allocations: 8 kB / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6717, allocations: 0 / 0.7273 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.6717, allocations: 3.938 kB / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6717, allocations: 0 / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6717, allocations: 0 / 0.7273 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.6719, allocations: 85.09 kB / 0.7273 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.6719, allocations: 81.14 kB / 0.7274 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6719, allocations: 3.938 kB / 0.7274 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.672, allocations: 7.984 kB / 0.7274 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.672, allocations: 0 / 0.7274 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.672, allocations: 0 / 0.7274 GB, free: 9.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.6721, allocations: 95.14 kB / 0.7275 GB, free: 9.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6721, allocations: 0 / 0.7275 GB, free: 9.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001653/0.6723, allocations: 4 kB / 0.7275 GB, free: 9.031 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001522/0.6724, allocations: 99.25 kB / 0.7276 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.6726, allocations: 31.97 kB / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6726, allocations: 0 / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.6727, allocations: 15.97 kB / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.673, allocations: 4 kB / 0.7277 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.6733, allocations: 107.3 kB / 0.7278 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.6736, allocations: 0.6731 MB / 0.7284 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.381e-05/0.6736, allocations: 0 / 0.7284 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.6736, allocations: 7.438 kB / 0.7284 GB, free: 8.035 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.6736, allocations: 3.938 kB / 0.7284 GB, free: 8.031 MB / 0.545 GB Notification: Performance of Templates: time 0.002263/0.6759, allocations: 350.8 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)