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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, 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.001607/0.001607, 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.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.742/1.742, allocations: 251.9 MB / 0.51 GB, free: 4.875 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.00057/0.0005701, allocations: 16 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6668, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002146/0.669, allocations: 1.123 MB / 0.7291 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.6696, allocations: 224.3 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.6697, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.6698, allocations: 3.938 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.6699, allocations: 19.97 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.6701, allocations: 19.97 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.6703, allocations: 55.86 kB / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.6704, allocations: 8.188 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.6705, allocations: 23.92 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.6706, allocations: 31.84 kB / 0.7295 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.6706, allocations: 0 / 0.7295 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.6706, allocations: 4 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.6707, allocations: 15.97 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.6707, allocations: 37.64 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.6708, allocations: 53.86 kB / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6708, allocations: 0 / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6709, allocations: 0 / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.6709, 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.0007717/0.6716, allocations: 406.1 kB / 0.73 GB, free: 9.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6717, allocations: 8.031 kB / 0.73 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.6718, allocations: 7.906 kB / 0.73 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.672, allocations: 186.8 kB / 0.7301 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.672, allocations: 7.938 kB / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.6721, allocations: 8 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.6722, allocations: 57.67 kB / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6722, allocations: 0 / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.6723, allocations: 0 / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6723, allocations: 7.938 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.6724, allocations: 31.98 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.6729, allocations: 316.7 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.6731, allocations: 46.56 kB / 0.7306 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.6731, allocations: 4 kB / 0.7306 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.6733, allocations: 87.31 kB / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.6733, allocations: 0 / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002925/0.6736, allocations: 113.5 kB / 0.7308 GB, free: 8.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.6737, allocations: 55.39 kB / 0.7308 GB, free: 8.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6738, allocations: 129.8 kB / 0.731 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.6738, allocations: 29.7 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.6739, allocations: 96.12 kB / 0.7311 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.6739, allocations: 27.8 kB / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6739, allocations: 0 / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6741, allocations: 318.8 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.6741, allocations: 20 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.6742, allocations: 51.17 kB / 0.7315 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.6742, allocations: 27.92 kB / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6742, allocations: 0 / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001727/0.6744, allocations: 105.8 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6744, allocations: 4 kB / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6745, allocations: 0 / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6745, allocations: 4 kB / 0.7316 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.6745, allocations: 4 kB / 0.7316 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.6746, allocations: 3.984 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.6747, allocations: 32.03 kB / 0.7317 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6747, allocations: 7.984 kB / 0.7317 GB, free: 7.422 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,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * 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.000104/0.6748, allocations: 127.1 kB / 0.7318 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.6749, allocations: 7.906 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.6749, allocations: 16.36 kB / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6749, allocations: 0 / 0.7318 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6749, allocations: 8 kB / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6749, allocations: 0 / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.6751, allocations: 189.6 kB / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6751, allocations: 0 / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.6751, allocations: 0 / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6751, allocations: 0 / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6752, allocations: 8 kB / 0.732 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6752, allocations: 0 / 0.732 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6752, allocations: 0 / 0.732 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.6754, allocations: 124.9 kB / 0.7321 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.6754, allocations: 84.95 kB / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.6755, allocations: 7.984 kB / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6756, allocations: 19.98 kB / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.6757, allocations: 15.97 kB / 0.7323 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6757, allocations: 4 kB / 0.7323 GB, free: 6.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.6758, allocations: 99.27 kB / 0.7324 GB, free: 6.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6758, allocations: 0 / 0.7324 GB, free: 6.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002248/0.676, allocations: 20 kB / 0.7324 GB, free: 6.609 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,or1.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 (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.0001762/0.6762, allocations: 103.2 kB / 0.7325 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.6763, allocations: 68.03 kB / 0.7325 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6763, allocations: 0 / 0.7325 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.6764, allocations: 31.94 kB / 0.7326 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.6767, allocations: 32.11 kB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.6771, allocations: 198.9 kB / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.6774, allocations: 0.7004 MB / 0.7335 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.6774, allocations: 4.562 kB / 0.7335 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.6775, allocations: 15.44 kB / 0.7335 GB, free: 5.398 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.6775, allocations: 0 / 0.7335 GB, free: 5.398 MB / 0.545 GB Notification: Performance of Templates: time 0.003877/0.6814, allocations: 1.039 MB / 0.7345 GB, free: 4.371 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) Environment - environmentSimulation: