Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001462/0.001462, allocations: 190.6 kB / 16.14 MB, free: 6.703 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.957 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.753/1.753, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001342/0.001342, allocations: 64.66 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001744/0.2445, allocations: 0.7784 MB / 0.7834 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2459, allocations: 1.298 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.2459, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.246, allocations: 11.92 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.246, allocations: 7.922 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.2467, allocations: 289.7 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.2469, allocations: 227.5 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.247, allocations: 12.17 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.2471, allocations: 87.86 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.2472, allocations: 75.77 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.2472, allocations: 12 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.2473, allocations: 27.98 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2474, allocations: 15.92 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.2475, allocations: 75.8 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.2477, allocations: 211.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2477, allocations: 0 / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2477, allocations: 3.938 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2477, allocations: 0 / 0.7857 GB, free: 10.87 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.0004968/0.2482, allocations: 492.3 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.2482, allocations: 12.03 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.2483, allocations: 12.84 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2484, allocations: 179.6 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2484, allocations: 12.38 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.2485, allocations: 16.38 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2486, allocations: 58.22 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2486, allocations: 3.938 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2486, allocations: 4 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2486, allocations: 0 / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.47e-05/0.2487, allocations: 23.92 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.2492, allocations: 420.4 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.2492, allocations: 34.56 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.2493, allocations: 24.94 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.2493, allocations: 0 / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.2494, allocations: 95.28 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.2494, allocations: 7.938 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002584/0.2497, allocations: 141.4 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2497, allocations: 59.48 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2498, allocations: 125.7 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.2499, allocations: 37.7 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.25, allocations: 100.1 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.25, allocations: 23.66 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2501, allocations: 65.67 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2502, allocations: 326.8 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2504, allocations: 91.95 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.2507, allocations: 141 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2509, allocations: 235 kB / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2509, allocations: 0 / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005392/0.2515, allocations: 374.4 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.2516, allocations: 101.3 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2516, allocations: 8 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2516, allocations: 0 / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.2516, allocations: 7.984 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.2516, allocations: 4 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.2521, allocations: 79.81 kB / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.2522, allocations: 27.97 kB / 0.7889 GB, free: 7.262 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,and1.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 9.894e-05/0.2523, allocations: 134.4 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2523, allocations: 7.906 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.2523, allocations: 8.375 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2523, allocations: 4 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2523, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2523, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2525, allocations: 193.5 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2525, allocations: 4.375 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.2525, allocations: 0 / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2525, allocations: 4 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2525, allocations: 3.984 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2525, allocations: 3.938 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2525, allocations: 0 / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.2527, allocations: 140.9 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.2527, allocations: 81.02 kB / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2528, allocations: 11.92 kB / 0.7895 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.2528, allocations: 4 kB / 0.7895 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.2528, allocations: 11.98 kB / 0.7895 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2528, allocations: 4 kB / 0.7895 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.2529, allocations: 99.27 kB / 0.7896 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2529, allocations: 3.938 kB / 0.7896 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002466/0.2532, allocations: 40 kB / 0.7896 GB, free: 6.422 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,and1.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.0001553/0.2533, allocations: 107.2 kB / 0.7898 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.2538, allocations: 366 kB / 0.7901 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2538, allocations: 0 / 0.7901 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.2538, allocations: 43.91 kB / 0.7901 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2541, allocations: 22.66 kB / 0.7902 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.2545, allocations: 205.1 kB / 0.7904 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2547, allocations: 0.6965 MB / 0.791 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.1e-05/0.2548, allocations: 8.422 kB / 0.791 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.2548, allocations: 19.44 kB / 0.7911 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2548, allocations: 0 / 0.7911 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.004705/0.2595, allocations: 2.489 MB / 0.7935 GB, free: 2.414 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)