Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001797/0.001797, allocations: 186.9 kB / 16.25 MB, free: 6.637 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.73/1.73, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.638/1.638, allocations: 251.6 MB / 0.5089 GB, free: 3.316 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.001329/0.001329, allocations: 71.91 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7017, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00282/0.7046, allocations: 1.505 MB / 0.7255 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004672/0.7051, allocations: 224.2 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.7051, allocations: 0 / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.7052, allocations: 0 / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.7053, allocations: 19.84 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.7055, allocations: 23.98 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.7056, allocations: 83.66 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.7058, allocations: 20.16 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.7058, allocations: 31.92 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.7059, allocations: 31.84 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.7059, allocations: 8 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.706, allocations: 4 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.706, allocations: 15.92 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.7061, allocations: 43.8 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.7062, allocations: 69.73 kB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7062, allocations: 0 / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7062, allocations: 0 / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7063, allocations: 0 / 0.726 GB, free: 11.01 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007516/0.707, allocations: 407 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.7071, allocations: 12.03 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.7071, allocations: 12.84 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.7073, allocations: 176.2 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.7073, allocations: 4.375 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.7074, allocations: 4.375 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.7075, allocations: 70.11 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7075, allocations: 3.938 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7076, allocations: 3.984 kB / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7076, allocations: 0 / 0.7267 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.7077, allocations: 27.98 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.7083, allocations: 316.8 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.7084, allocations: 50.59 kB / 0.7271 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.7084, allocations: 24.86 kB / 0.7271 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.7085, allocations: 0 / 0.7271 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.7086, allocations: 91.28 kB / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.7087, allocations: 0 / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002933/0.7089, allocations: 113.5 kB / 0.7273 GB, free: 9.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.709, allocations: 59.34 kB / 0.7273 GB, free: 9.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.7091, allocations: 121.8 kB / 0.7274 GB, free: 9.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.7092, allocations: 33.7 kB / 0.7275 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.7092, allocations: 88.12 kB / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.7093, allocations: 23.66 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.7093, allocations: 37.7 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7095, allocations: 322.8 kB / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.7095, allocations: 20 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.7096, allocations: 51.05 kB / 0.728 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/0.7097, allocations: 71.67 kB / 0.7281 GB, free: 8.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7097, allocations: 0 / 0.7281 GB, free: 8.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.7099, allocations: 101.5 kB / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.7099, allocations: 7.938 kB / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7099, allocations: 4 kB / 0.7282 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7099, allocations: 0 / 0.7282 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.71, allocations: 11.98 kB / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.71, allocations: 0 / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.7101, allocations: 24.02 kB / 0.7282 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.7102, allocations: 4 kB / 0.7282 GB, free: 8.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001151/0.7103, allocations: 123.2 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.7103, allocations: 7.906 kB / 0.7283 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.7103, allocations: 16.36 kB / 0.7283 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7104, allocations: 0 / 0.7283 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7104, allocations: 0 / 0.7283 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7104, allocations: 4 kB / 0.7284 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.7106, allocations: 193.7 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7106, allocations: 4 kB / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-06/0.7106, allocations: 0 / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7106, allocations: 0 / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.7106, allocations: 0 / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7106, allocations: 4 kB / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7106, allocations: 3.938 kB / 0.7285 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.7108, allocations: 125 kB / 0.7287 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.7109, allocations: 96.94 kB / 0.7288 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7109, allocations: 0 / 0.7288 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.711, allocations: 15.92 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.7111, allocations: 19.97 kB / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.7111, allocations: 192 / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.7112, allocations: 99.27 kB / 0.7289 GB, free: 7.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7112, allocations: 3.938 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001992/0.7114, allocations: 20 kB / 0.7289 GB, free: 7.695 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000183/0.7116, allocations: 103.2 kB / 0.729 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.7117, allocations: 71.78 kB / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7117, allocations: 0 / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.7118, allocations: 32 kB / 0.7291 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.7121, allocations: 32.67 kB / 0.7291 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.7126, allocations: 202.5 kB / 0.7293 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.713, allocations: 0.6885 MB / 0.73 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.713, allocations: 16.55 kB / 0.73 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.7131, allocations: 15.44 kB / 0.73 GB, free: 6.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7131, allocations: 0 / 0.73 GB, free: 6.48 MB / 0.545 GB Notification: Performance of Templates: time 0.003564/0.7166, allocations: 1.151 MB / 0.7312 GB, free: 5.344 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)