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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 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.001619/0.001618, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.651/1.651, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.833/1.833, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001348/0.001348, allocations: 73.36 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002353/0.248, allocations: 0.7137 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.2498, allocations: 1.258 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.2499, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.25, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.2501, allocations: 23.78 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.2509, allocations: 305.5 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.2512, allocations: 275.6 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2514, allocations: 16.17 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2515, allocations: 103.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2517, allocations: 75.77 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.2517, allocations: 28 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2518, allocations: 35.98 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.2519, allocations: 8 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.252, allocations: 91.72 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.2523, allocations: 215.7 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2523, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2523, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2523, allocations: 4 kB / 0.7864 GB, free: 10.34 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.000596/0.2529, allocations: 496.3 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.253, allocations: 8.031 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.2531, allocations: 20.84 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2532, allocations: 176.3 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2532, allocations: 8.359 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2533, allocations: 20.38 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.2534, allocations: 54.17 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2534, allocations: 3.938 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2534, allocations: 4 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2535, allocations: 4 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.2535, allocations: 15.98 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.2541, allocations: 428.4 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.2542, allocations: 30.52 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.2542, allocations: 24.94 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2542, allocations: 0 / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.2544, allocations: 99.34 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2545, allocations: 0 / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003032/0.2548, allocations: 133.5 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.2548, allocations: 59.41 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.255, allocations: 136.7 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.255, allocations: 37.64 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.2551, allocations: 97.19 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2551, allocations: 27.64 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2552, allocations: 69.67 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2554, allocations: 326.8 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2556, allocations: 87.95 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2558, allocations: 136.5 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.2561, allocations: 235 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2561, allocations: 0 / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006036/0.2567, allocations: 378.5 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2568, allocations: 103.8 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2569, allocations: 0 / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.2569, allocations: 4 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.53e-05/0.2569, allocations: 0 / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.257, allocations: 11.92 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2575, allocations: 84.31 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.2576, allocations: 16.06 kB / 0.7896 GB, free: 6.742 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 0.0001232/0.2577, allocations: 141.4 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2577, allocations: 7.906 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.2578, allocations: 12.38 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2578, allocations: 0 / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2578, allocations: 0 / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2578, allocations: 4 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.258, allocations: 193.5 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.258, allocations: 0 / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.258, allocations: 7.938 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.258, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.258, allocations: 4 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.258, allocations: 3.984 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.258, allocations: 0 / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.2582, allocations: 140.9 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.2583, allocations: 89.02 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.2583, allocations: 0 / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.2583, allocations: 3.984 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.2584, allocations: 12 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2584, allocations: 7.984 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.2585, allocations: 99.2 kB / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2585, allocations: 0 / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002564/0.2588, allocations: 40 kB / 0.7904 GB, free: 5.898 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.0001917/0.259, allocations: 115.2 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2595, allocations: 366 kB / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2595, allocations: 0 / 0.7908 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.2596, allocations: 47.91 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2598, allocations: 32.56 kB / 0.7909 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.2603, allocations: 190.9 kB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2606, allocations: 0.6924 MB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.2607, allocations: 16.42 kB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.2607, allocations: 11.44 kB / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2607, allocations: 0 / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of Templates: time 0.006009/0.2667, allocations: 2.623 MB / 0.7943 GB, free: 1.758 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)