Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.00137/0.001371, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001556, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5488 GB, free: 12.87 MB / 462.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.001466/0.001466, allocations: 70.62 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002223/0.2436, allocations: 0.7254 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2452, allocations: 1.258 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.2453, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.2454, allocations: 7.875 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.2454, allocations: 19.84 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.2462, allocations: 308 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.2465, allocations: 267.7 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2466, allocations: 16.17 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2467, allocations: 103.7 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2468, allocations: 79.77 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.2469, allocations: 24 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.247, allocations: 31.98 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.247, allocations: 15.98 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2471, allocations: 87.73 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2474, allocations: 223.7 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2474, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2474, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2474, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 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.0005667/0.248, allocations: 492.3 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.248, allocations: 8.031 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.2481, allocations: 16.84 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2482, allocations: 176.3 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2482, allocations: 20.31 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.2483, allocations: 12.38 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2484, allocations: 54.23 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2484, allocations: 3.938 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2484, allocations: 11.98 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2484, allocations: 0 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.2485, allocations: 20 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.2491, allocations: 424.4 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.2491, allocations: 30.56 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.2492, allocations: 20.94 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2492, allocations: 4 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.2494, allocations: 99.28 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.2494, allocations: 4 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002854/0.2497, allocations: 141.4 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2498, allocations: 55.47 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2499, allocations: 135.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.2499, allocations: 37.7 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.25, allocations: 97.19 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.25, allocations: 19.66 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2502, allocations: 69.67 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2503, allocations: 326.8 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2505, allocations: 87.95 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2507, allocations: 130 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.251, allocations: 234.9 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.251, allocations: 4 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005466/0.2515, allocations: 377.9 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.2516, allocations: 97.28 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.2516, allocations: 7.984 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2516, allocations: 4 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-05/0.2517, allocations: 7.938 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2517, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.2522, allocations: 83.8 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.2523, allocations: 27.98 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001134/0.2524, allocations: 125.8 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.2524, allocations: 7.906 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2524, allocations: 8.375 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2524, allocations: 0 / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2524, allocations: 0 / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2525, allocations: 7.984 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.2526, allocations: 193.5 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2526, allocations: 4 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.2526, allocations: 4.375 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2526, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2527, allocations: 7.984 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2527, allocations: 0 / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2527, allocations: 3.938 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2529, allocations: 136.9 kB / 0.7901 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2529, allocations: 89 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2529, allocations: 4 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.253, allocations: 8 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.253, allocations: 7.984 kB / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.253, allocations: 8 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.2531, allocations: 95.27 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2531, allocations: 0 / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002484/0.2533, allocations: 40 kB / 0.7904 GB, free: 5.879 MB / 0.6075 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.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 (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.0001628/0.2535, allocations: 111.2 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.254, allocations: 374 kB / 0.7908 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.254, allocations: 0 / 0.7908 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.254, allocations: 47.84 kB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2543, allocations: 24.12 kB / 0.7909 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.2547, allocations: 202.5 kB / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2549, allocations: 0.6924 MB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.255, allocations: 8.422 kB / 0.7918 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.255, allocations: 19.38 kB / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.255, allocations: 0 / 0.7918 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.005174/0.2602, allocations: 2.617 MB / 0.7943 GB, free: 1.73 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)