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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 100.3 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.001428/0.001428, 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.801/1.801, 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.781/1.781, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005812/0.0005813, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.65/0.6506, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001726/0.6524, allocations: 1.084 MB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.6528, allocations: 192.4 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.6529, allocations: 4 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.6529, allocations: 3.938 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.653, allocations: 11.98 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.6532, allocations: 15.92 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.6533, allocations: 39.89 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.6534, allocations: 7.984 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.6534, allocations: 19.92 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.6535, allocations: 19.92 kB / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.6535, allocations: 0 / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.6535, allocations: 4 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.6536, allocations: 3.984 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.6536, allocations: 37.7 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.34e-05/0.6537, allocations: 41.83 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6537, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6537, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6537, allocations: 0 / 0.7294 GB, free: 9.922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005759/0.6543, allocations: 367.1 kB / 0.7298 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6543, allocations: 12.03 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.6544, allocations: 4 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.6546, allocations: 182.8 kB / 0.73 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6546, allocations: 4 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.6547, allocations: 4 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.6548, allocations: 49.69 kB / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6548, allocations: 0 / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6548, allocations: 0 / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6548, allocations: 0 / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.6549, allocations: 23.92 kB / 0.73 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.6554, allocations: 284.8 kB / 0.7303 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.6555, allocations: 42.56 kB / 0.7304 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.6556, allocations: 0 / 0.7304 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.6557, allocations: 75.45 kB / 0.7304 GB, free: 8.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.6557, allocations: 0 / 0.7304 GB, free: 8.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002028/0.6559, allocations: 89.64 kB / 0.7305 GB, free: 8.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.656, allocations: 51.41 kB / 0.7306 GB, free: 8.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.6561, allocations: 130 kB / 0.7307 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.6561, allocations: 33.7 kB / 0.7307 GB, free: 8.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.6562, allocations: 80.14 kB / 0.7308 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.6562, allocations: 15.81 kB / 0.7308 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6562, allocations: 0 / 0.7308 GB, free: 8.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6564, allocations: 322.8 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.6564, allocations: 15.94 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.6565, allocations: 42.55 kB / 0.7312 GB, free: 7.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.6565, allocations: 12 kB / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.6566, allocations: 0 / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000127/0.6567, allocations: 85.58 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6567, allocations: 10.5 kB / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6567, allocations: 0 / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6568, allocations: 4 kB / 0.7313 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.6568, allocations: 7.984 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6568, allocations: 0 / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.6569, allocations: 19.92 kB / 0.7313 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.657, allocations: 11.89 kB / 0.7313 GB, free: 7.758 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001616/0.6571, allocations: 120.9 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.6571, allocations: 7.906 kB / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.6572, allocations: 8.375 kB / 0.7315 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6572, allocations: 4 kB / 0.7315 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6572, allocations: 0 / 0.7315 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6572, allocations: 3.984 kB / 0.7315 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.6574, allocations: 169.6 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6574, allocations: 4 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.6574, allocations: 0 / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6574, allocations: 3.984 kB / 0.7316 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.6574, allocations: 4 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6574, allocations: 0 / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6574, allocations: 4 kB / 0.7316 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.6575, allocations: 104.9 kB / 0.7317 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.6576, allocations: 81.11 kB / 0.7318 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6576, allocations: 3.984 kB / 0.7318 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.6577, allocations: 19.98 kB / 0.7318 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.6578, allocations: 7.984 kB / 0.7318 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.6578, allocations: 4.125 kB / 0.7319 GB, free: 7.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.6579, allocations: 87.28 kB / 0.7319 GB, free: 7.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6579, allocations: 3.938 kB / 0.7319 GB, free: 7.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001897/0.6581, allocations: 19.98 kB / 0.732 GB, free: 7.016 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000136/0.6582, allocations: 95.25 kB / 0.732 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.6583, allocations: 51.92 kB / 0.7321 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6583, allocations: 0 / 0.7321 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.6584, allocations: 20 kB / 0.7321 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.6586, allocations: 15.94 kB / 0.7321 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.6589, allocations: 178.5 kB / 0.7323 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.6594, allocations: 0.6887 MB / 0.733 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.6594, allocations: 7.859 kB / 0.733 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.6594, allocations: 15.44 kB / 0.733 GB, free: 5.883 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6594, allocations: 0 / 0.733 GB, free: 5.883 MB / 0.545 GB Notification: Performance of Templates: time 0.002874/0.6623, allocations: 0.7428 MB / 0.7337 GB, free: 5.148 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: