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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00149/0.00149, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.674/1.674, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.000941/0.0009412, allocations: 20 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5727, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002025/0.5748, allocations: 1.124 MB / 0.7291 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.5754, allocations: 218.9 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.5755, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.5755, allocations: 7.875 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.5756, allocations: 19.95 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.5758, allocations: 19.98 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.576, allocations: 51.86 kB / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.5761, allocations: 12.19 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.5762, allocations: 19.92 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.5763, allocations: 39.83 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.5763, allocations: 0 / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.5763, allocations: 4 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.5764, allocations: 7.984 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.5764, allocations: 37.64 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.808e-05/0.5765, allocations: 53.86 kB / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.5765, allocations: 0 / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5765, allocations: 0 / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.5765, allocations: 0 / 0.7296 GB, free: 9.805 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.0006701/0.5772, allocations: 410.1 kB / 0.73 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5772, allocations: 8.031 kB / 0.73 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.5773, allocations: 7.906 kB / 0.73 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.5774, allocations: 182.8 kB / 0.7301 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.5775, allocations: 8 kB / 0.7301 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.5775, allocations: 11.92 kB / 0.7302 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.5776, allocations: 61.67 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5777, allocations: 3.938 kB / 0.7302 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5777, allocations: 0 / 0.7302 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5777, allocations: 4 kB / 0.7302 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.5778, allocations: 27.98 kB / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.5783, allocations: 312.7 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.5784, allocations: 46.56 kB / 0.7306 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.5784, allocations: 4 kB / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.5786, allocations: 87.31 kB / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.5786, allocations: 0 / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002839/0.5789, allocations: 117.5 kB / 0.7308 GB, free: 8.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.579, allocations: 51.41 kB / 0.7308 GB, free: 8.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5792, allocations: 134.1 kB / 0.731 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5792, allocations: 25.7 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5794, allocations: 96.27 kB / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5794, allocations: 27.66 kB / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5795, allocations: 4 kB / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.5797, allocations: 318.8 kB / 0.7314 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.5797, allocations: 16 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.5798, allocations: 47.42 kB / 0.7315 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.5799, allocations: 27.94 kB / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5799, allocations: 0 / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.58, allocations: 101.9 kB / 0.7316 GB, free: 7.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5801, allocations: 4 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5801, allocations: 7.938 kB / 0.7316 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5801, allocations: 96 / 0.7316 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.5802, allocations: 7.938 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5802, allocations: 4 kB / 0.7316 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5803, allocations: 36.02 kB / 0.7317 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5803, allocations: 4 kB / 0.7317 GB, free: 7.418 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.5804, allocations: 118.5 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.5805, allocations: 7.906 kB / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.5805, allocations: 16.36 kB / 0.7318 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5805, allocations: 4 kB / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5805, allocations: 3.938 kB / 0.7318 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.5805, allocations: 4 kB / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.5807, allocations: 193.6 kB / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5807, allocations: 0 / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.5807, allocations: 0 / 0.732 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5807, allocations: 4 kB / 0.732 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5808, allocations: 4 kB / 0.732 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5808, allocations: 0 / 0.732 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5808, allocations: 0 / 0.732 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.5809, allocations: 128.9 kB / 0.7321 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.581, allocations: 88.95 kB / 0.7322 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.581, allocations: 0 / 0.7322 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5812, allocations: 27.97 kB / 0.7322 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.5812, allocations: 15.95 kB / 0.7323 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5812, allocations: 4 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.943e-05/0.5813, allocations: 103.3 kB / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5813, allocations: 4 kB / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002051/0.5815, allocations: 20 kB / 0.7324 GB, free: 6.59 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,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.5817, allocations: 99.19 kB / 0.7325 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.5818, allocations: 63.92 kB / 0.7325 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5819, allocations: 288 / 0.7325 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.5819, allocations: 39.86 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5822, allocations: 30.75 kB / 0.7326 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.5826, allocations: 198.9 kB / 0.7328 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5829, allocations: 0.6965 MB / 0.7335 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.5829, allocations: 8.547 kB / 0.7335 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.5829, allocations: 11.44 kB / 0.7335 GB, free: 5.387 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.583, allocations: 0 / 0.7335 GB, free: 5.387 MB / 0.545 GB Notification: Performance of Templates: time 0.003785/0.5867, allocations: 1.034 MB / 0.7345 GB, free: 4.363 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1) Environment - environmentSimulation: