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.001818/0.001818, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001858/0.001858, allocations: 184 kB / 17.22 MB, free: 5.625 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.767/1.767, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.062/2.062, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001634/0.001634, allocations: 68.47 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2713, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002071/0.2734, allocations: 0.6983 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.275, allocations: 1.266 MB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.2751, allocations: 0 / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.2751, allocations: 7.875 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.2752, allocations: 15.86 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.276, allocations: 307.6 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.2763, allocations: 271.6 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2764, allocations: 20.17 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2766, allocations: 103.8 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2767, allocations: 91.73 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.2768, allocations: 20 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.2769, allocations: 39.98 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.2769, allocations: 15.97 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.277, allocations: 91.69 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.2773, allocations: 215.7 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2773, allocations: 4 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2773, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2774, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 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.0007077/0.2781, allocations: 0.4886 MB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2781, allocations: 8.031 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.2782, allocations: 16.84 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3946/0.6728, allocations: 172.8 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.6729, allocations: 7.562 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.673, allocations: 12.78 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6732, allocations: 60.02 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6732, allocations: 0 / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6732, allocations: 6.625 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6732, allocations: 0 / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.6733, allocations: 24.5 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6738, allocations: 413.5 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.6739, allocations: 34.48 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.6739, allocations: 22.16 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.6739, allocations: 5.156 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.6741, allocations: 108.5 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.6741, allocations: 0 / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002687/0.6744, allocations: 135.5 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6744, allocations: 57.56 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.6745, allocations: 128.7 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.6745, allocations: 34.58 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.6746, allocations: 102.4 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.6746, allocations: 24.58 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6748, allocations: 68 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.6748, allocations: 320.6 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.675, allocations: 86.64 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.6752, allocations: 136.8 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.6754, allocations: 235.7 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6754, allocations: 0 / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005074/0.6759, allocations: 379.7 kB / 0.7901 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.676, allocations: 104 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.676, allocations: 3.219 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.676, allocations: 4.344 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.357e-05/0.676, allocations: 8.031 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6761, allocations: 2.625 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.6765, allocations: 72.86 kB / 0.7903 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6765, allocations: 24.19 kB / 0.7903 GB, free: 47.34 MB / 0.6544 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 8.974e-05/0.6766, allocations: 130.6 kB / 0.7905 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.6766, allocations: 14.91 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.6767, allocations: 13.56 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6767, allocations: 0 / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6767, allocations: 2.625 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6767, allocations: 0 / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.6768, allocations: 187.9 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6768, allocations: 5.219 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.6768, allocations: 1.25 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.6768, allocations: 4.375 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6769, allocations: 2.531 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6769, allocations: 4.969 kB / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6769, allocations: 0 / 0.7907 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.677, allocations: 145 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.6771, allocations: 84.45 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.6771, allocations: 2.531 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.6771, allocations: 4.625 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.6772, allocations: 8.969 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.6772, allocations: 8.656 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.6773, allocations: 100.5 kB / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6773, allocations: 0 / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002764/0.6776, allocations: 50.75 kB / 0.7911 GB, free: 46.77 MB / 0.6544 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.0002406/0.6778, allocations: 108.7 kB / 0.7912 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005487/0.6784, allocations: 364.1 kB / 0.7915 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6784, allocations: 0 / 0.7915 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.6784, allocations: 46.69 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6788, allocations: 27.72 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.6792, allocations: 187.9 kB / 0.7918 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.6794, allocations: 0.6972 MB / 0.7925 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.6795, allocations: 9.641 kB / 0.7925 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.6795, allocations: 16.62 kB / 0.7925 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of SimCode: time 6.92e-07/0.6795, allocations: 0 / 0.7925 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.006742/0.6863, allocations: 2.622 MB / 0.795 GB, free: 45.55 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)