Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.484/2.484, allocations: 287.5 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001368, allocations: 180.2 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 82.36 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.000489, allocations: 16.31 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2147, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9499/1.165, allocations: 137.9 MB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/1.165, allocations: 76.02 kB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/1.187, allocations: 2.943 MB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.187, allocations: 4 kB / 1.117 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.187, allocations: 0 / 1.117 GB, free: 31.4 MB / 0.698 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.0006929/1.188, allocations: 413.5 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.188, allocations: 7.844 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/1.188, allocations: 12.56 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.188, allocations: 171.9 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.188, allocations: 11.06 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/1.188, allocations: 8.062 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.189, allocations: 54.58 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.189, allocations: 4.188 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.189, allocations: 7.875 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/1.189, allocations: 0 / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/1.189, allocations: 16.25 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/1.19, allocations: 348.6 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.19, allocations: 36.89 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/1.19, allocations: 23.17 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/1.19, allocations: 0 / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/1.19, allocations: 73.3 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/1.19, allocations: 0 / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004448/1.191, allocations: 110.1 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.191, allocations: 51.41 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.191, allocations: 121.5 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/1.191, allocations: 37.02 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/1.191, allocations: 90.97 kB / 1.118 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/1.191, allocations: 14.91 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/1.191, allocations: 3.906 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.191, allocations: 321.7 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/1.192, allocations: 54.09 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.192, allocations: 92.52 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/1.192, allocations: 166.4 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.192, allocations: 480 / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009393/1.193, allocations: 261.7 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/1.193, allocations: 76.25 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.193, allocations: 0 / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.194, allocations: 3.844 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/1.194, allocations: 3.5 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.194, allocations: 6.797 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/1.194, allocations: 67.77 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/1.195, allocations: 15.56 kB / 1.12 GB, free: 29.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0002094/1.195, allocations: 127.4 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/1.195, allocations: 7.75 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/1.195, allocations: 18.45 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.195, allocations: 3.969 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.195, allocations: 0 / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.195, allocations: 0 / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/1.195, allocations: 176.5 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.195, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/1.195, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.195, allocations: 3.969 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.195, allocations: 2.344 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.195, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.195, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/1.196, allocations: 116 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/1.196, allocations: 84.86 kB / 1.12 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/1.196, allocations: 0 / 1.12 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/1.196, allocations: 0 / 1.12 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.196, allocations: 21.33 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/1.196, allocations: 6.469 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.506e-05/1.196, allocations: 88.77 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.91e-07/1.196, allocations: 0 / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005628/1.197, allocations: 42.06 kB / 1.12 GB, free: 28.8 MB / 0.698 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0002562/1.197, allocations: 106.2 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007034/1.198, allocations: 252.2 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.198, allocations: 288 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/1.198, allocations: 25.28 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/1.198, allocations: 21.84 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/1.199, allocations: 164.8 kB / 1.121 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.199, allocations: 0.6828 MB / 1.121 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.512e-05/1.199, allocations: 10.84 kB / 1.121 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/1.2, allocations: 11.44 kB / 1.121 GB, free: 27.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.2, allocations: 3.875 kB / 1.121 GB, free: 27.73 MB / 0.698 GB Notification: Performance of Templates: time 0.008464/1.208, allocations: 1.687 MB / 1.123 GB, free: 27.58 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)