Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, 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.001515/0.001516, allocations: 194 kB / 16.14 MB, free: 6.711 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.723/1.723, allocations: 205.1 MB / 222 MB, free: 4.77 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.587/1.587, allocations: 251.6 MB / 0.5088 GB, free: 3.402 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.00149/0.00149, allocations: 63.92 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.661, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.004808/0.6659, allocations: 1.441 MB / 0.7252 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.6666, allocations: 124.5 kB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.6667, allocations: 0 / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.6668, allocations: 0 / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.6669, allocations: 11.92 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.6671, allocations: 4 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.6672, allocations: 27.92 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.6673, allocations: 4 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.6675, allocations: 15.92 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.6675, allocations: 3.938 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.6676, allocations: 4 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.6676, allocations: 0 / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.6676, allocations: 7.984 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.6677, allocations: 7.938 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.6678, allocations: 19.95 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6678, allocations: 4 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6678, allocations: 0 / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6679, allocations: 0 / 0.7255 GB, free: 11.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006217/0.6685, allocations: 337.5 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.6686, allocations: 12.03 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.6686, allocations: 0.9375 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.6688, allocations: 164.3 kB / 0.7259 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6688, allocations: 8.359 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.6689, allocations: 4.375 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.6691, allocations: 54.19 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6692, allocations: 4.125 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.6692, allocations: 3.938 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.6692, allocations: 0 / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.6695, allocations: 35.95 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.6701, allocations: 248.9 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.6703, allocations: 46.47 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.6704, allocations: 16.91 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.6705, allocations: 3.984 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.6706, allocations: 34.56 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.6706, allocations: 0 / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004868/0.6711, allocations: 85.58 kB / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.6711, allocations: 51.41 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.6713, allocations: 105.8 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6713, allocations: 25.7 kB / 0.7266 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.6715, allocations: 80.14 kB / 0.7267 GB, free: 9.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.6715, allocations: 11.97 kB / 0.7267 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.6716, allocations: 17.72 kB / 0.7267 GB, free: 9.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002678/0.6719, allocations: 310.8 kB / 0.727 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.672, allocations: 19.97 kB / 0.7271 GB, free: 9.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.6721, allocations: 15.98 kB / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.6723, allocations: 40.89 kB / 0.7271 GB, free: 9.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6723, allocations: 0 / 0.7271 GB, free: 9.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002473/0.6725, allocations: 69.59 kB / 0.7272 GB, free: 9.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6726, allocations: 8 kB / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6726, allocations: 0 / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6726, allocations: 0 / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.6727, allocations: 11.92 kB / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.6728, allocations: 0 / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.6728, allocations: 15.92 kB / 0.7272 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.6729, allocations: 4 kB / 0.7272 GB, free: 9.43 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 (2): * Single equations (assignments): 2 * 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 9.847e-05/0.673, allocations: 109.8 kB / 0.7273 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.673, allocations: 0 / 0.7273 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.6733, allocations: 72.78 kB / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6733, allocations: 0 / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6733, allocations: 4.031 kB / 0.7274 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6734, allocations: 4 kB / 0.7274 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.6736, allocations: 165.5 kB / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6736, allocations: 0 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.6737, allocations: 8 kB / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6737, allocations: 0 / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.6737, allocations: 3.984 kB / 0.7276 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6737, allocations: 3.938 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6737, allocations: 0 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.674, allocations: 167.5 kB / 0.7277 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.6741, allocations: 77.11 kB / 0.7278 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.6741, allocations: 4 kB / 0.7278 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6742, allocations: 0 / 0.7278 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.6743, allocations: 7.984 kB / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.6743, allocations: 0 / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.6744, allocations: 83.31 kB / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6744, allocations: 0 / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003568/0.6747, allocations: 8 kB / 0.7279 GB, free: 8.625 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 (2): * Single equations (assignments): 2 * 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.0002448/0.675, allocations: 99.19 kB / 0.728 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.6753, allocations: 43.89 kB / 0.728 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6753, allocations: 0 / 0.728 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6754, allocations: 20.05 kB / 0.7281 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.6759, allocations: 7.938 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.6764, allocations: 111.2 kB / 0.7282 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.6768, allocations: 0.677 MB / 0.7288 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.6768, allocations: 0 / 0.7288 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.6769, allocations: 11.44 kB / 0.7288 GB, free: 7.598 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.6769, allocations: 4.062 kB / 0.7289 GB, free: 7.594 MB / 0.545 GB Notification: Performance of Templates: time 0.003233/0.6801, allocations: 367.3 kB / 0.7292 GB, free: 7.242 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)