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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") 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: 108 kB / 15.6 MB, free: 132 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.0016/0.0016, allocations: 198 kB / 16.54 MB, free: 6.672 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.671/1.671, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.696/1.696, allocations: 251.7 MB / 0.5092 GB, free: 3.094 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.001607/0.001607, allocations: 75.89 kB / 0.6223 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6977, allocations: 104.7 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.003635/0.7015, allocations: 1.408 MB / 0.7259 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.702, allocations: 195.2 kB / 0.7261 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.7021, allocations: 0 / 0.7261 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.7021, allocations: 11.92 kB / 0.7261 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.7022, allocations: 7.922 kB / 0.7261 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.7025, allocations: 23.86 kB / 0.7262 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.7026, allocations: 43.86 kB / 0.7262 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.7028, allocations: 11.98 kB / 0.7262 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.7029, allocations: 11.98 kB / 0.7262 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.703, allocations: 27.86 kB / 0.7262 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.703, allocations: 4 kB / 0.7262 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.703, allocations: 8 kB / 0.7263 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.703, allocations: 7.984 kB / 0.7263 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.7031, allocations: 15.92 kB / 0.7263 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.7032, allocations: 43.75 kB / 0.7263 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7032, allocations: 0 / 0.7263 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7032, allocations: 0 / 0.7263 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.7033, allocations: 0 / 0.7263 GB, free: 11.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007189/0.704, allocations: 373.4 kB / 0.7267 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.7041, allocations: 12.03 kB / 0.7267 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.7041, allocations: 8.938 kB / 0.7267 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.7043, allocations: 164.3 kB / 0.7269 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.7043, allocations: 8.359 kB / 0.7269 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.7043, allocations: 384 / 0.7269 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.7047, allocations: 70.2 kB / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7047, allocations: 192 / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.7047, allocations: 3.938 kB / 0.7269 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.7047, allocations: 8 kB / 0.7269 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.705, allocations: 67.86 kB / 0.727 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.7056, allocations: 257 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.7058, allocations: 66.41 kB / 0.7273 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.706, allocations: 40.91 kB / 0.7274 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.706, allocations: 0 / 0.7274 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.7061, allocations: 34.56 kB / 0.7274 GB, free: 9.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7061, allocations: 0 / 0.7274 GB, free: 9.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006086/0.7067, allocations: 133.4 kB / 0.7275 GB, free: 9.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.7068, allocations: 55.39 kB / 0.7276 GB, free: 9.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.7069, allocations: 105.8 kB / 0.7277 GB, free: 9.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.7069, allocations: 29.7 kB / 0.7277 GB, free: 9.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.707, allocations: 88.12 kB / 0.7278 GB, free: 9.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7071, allocations: 11.84 kB / 0.7278 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.7071, allocations: 17.72 kB / 0.7278 GB, free: 9.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7073, allocations: 314.8 kB / 0.7281 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7074, allocations: 31.97 kB / 0.7281 GB, free: 9.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.7076, allocations: 27.97 kB / 0.7282 GB, free: 9.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.7079, allocations: 76.72 kB / 0.7282 GB, free: 9.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7079, allocations: 3.938 kB / 0.7282 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.7082, allocations: 101.5 kB / 0.7283 GB, free: 8.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7083, allocations: 4 kB / 0.7283 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7083, allocations: 7.938 kB / 0.7283 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.7083, allocations: 0 / 0.7283 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7085, allocations: 19.98 kB / 0.7284 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7085, allocations: 0 / 0.7284 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.7086, allocations: 11.98 kB / 0.7284 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7086, allocations: 0 / 0.7284 GB, free: 8.902 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 (3): * Single equations (assignments): 3 * 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.875e-05/0.7087, allocations: 113.8 kB / 0.7285 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.7087, allocations: 3.984 kB / 0.7285 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.7088, allocations: 11.91 kB / 0.7285 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7088, allocations: 4 kB / 0.7285 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7088, allocations: 0 / 0.7285 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7088, allocations: 4.266 kB / 0.7285 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.709, allocations: 173.5 kB / 0.7287 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.709, allocations: 0 / 0.7287 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.7091, allocations: 15.97 kB / 0.7287 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7091, allocations: 7.984 kB / 0.7287 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7091, allocations: 4 kB / 0.7287 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7092, allocations: 4 kB / 0.7287 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7092, allocations: 0 / 0.7287 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.7096, allocations: 191.4 kB / 0.7289 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.7096, allocations: 81.09 kB / 0.729 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7097, allocations: 4 kB / 0.729 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.7098, allocations: 11.98 kB / 0.729 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.7099, allocations: 7.938 kB / 0.729 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.7099, allocations: 0 / 0.729 GB, free: 8.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.7099, allocations: 91.27 kB / 0.7291 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.194e-06/0.7099, allocations: 0 / 0.7291 GB, free: 8.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000218/0.7102, allocations: 11.84 kB / 0.7291 GB, free: 8.074 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 (3): * Single equations (assignments): 3 * 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.0002504/0.7104, allocations: 99.25 kB / 0.7292 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.7108, allocations: 75.92 kB / 0.7293 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7109, allocations: 0 / 0.7293 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.711, allocations: 35.95 kB / 0.7293 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.7115, allocations: 7.938 kB / 0.7293 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.712, allocations: 137.3 kB / 0.7294 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.7123, allocations: 0.6807 MB / 0.7301 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.7123, allocations: 3.938 kB / 0.7301 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.7124, allocations: 11.44 kB / 0.7301 GB, free: 6.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7124, allocations: 0 / 0.7301 GB, free: 6.969 MB / 0.545 GB Notification: Performance of Templates: time 0.003195/0.7156, allocations: 0.7162 MB / 0.7308 GB, free: 6.258 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)