Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 101.2 kB / 16.36 MB, free: 5.891 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.001281/0.001281, allocations: 189.2 kB / 17.29 MB, free: 5.531 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.25 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 1.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001444/0.001444, allocations: 70.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2062, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001942/0.2082, allocations: 0.6775 MB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2102, allocations: 1.184 MB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.2102, allocations: 0 / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.2104, allocations: 3.938 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.2105, allocations: 15.86 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.2112, allocations: 218.8 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.2115, allocations: 179.8 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2116, allocations: 11.98 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.744e-05/0.2117, allocations: 67.89 kB / 0.7871 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2118, allocations: 63.83 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2119, allocations: 15.94 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.2119, allocations: 35.92 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.212, allocations: 11.94 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.2121, allocations: 55.81 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2123, allocations: 155.6 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2123, allocations: 4 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2123, allocations: 0 / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.2123, allocations: 0 / 0.7874 GB, free: 492 kB / 0.6544 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.3609/0.5732, allocations: 432.1 kB / 0.7878 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5733, allocations: 9.156 kB / 0.7878 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.5734, allocations: 10.59 kB / 0.7878 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5735, allocations: 166 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5736, allocations: 5.531 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.5736, allocations: 11.38 kB / 0.788 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.5738, allocations: 52.09 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5738, allocations: 192 / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5738, allocations: 8.5 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5738, allocations: 3.656 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/0.5738, allocations: 14.92 kB / 0.7881 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.5743, allocations: 354.5 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.5744, allocations: 41.72 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.5744, allocations: 12.73 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5744, allocations: 3.422 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.5746, allocations: 79.77 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5746, allocations: 2.75 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.00023/0.5748, allocations: 105.2 kB / 0.7887 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5749, allocations: 54.28 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.5749, allocations: 113 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.575, allocations: 35.95 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.575, allocations: 91.72 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.575, allocations: 16.66 kB / 0.789 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.5751, allocations: 51.39 kB / 0.789 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.5752, allocations: 320.8 kB / 0.7893 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5753, allocations: 61.7 kB / 0.7894 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.5754, allocations: 95.92 kB / 0.7895 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5756, allocations: 159.7 kB / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5756, allocations: 3.922 kB / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003408/0.5759, allocations: 264.2 kB / 0.7899 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.576, allocations: 65.75 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.576, allocations: 2.625 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.576, allocations: 0 / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.576, allocations: 6.047 kB / 0.7899 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.576, allocations: 6.469 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.5764, allocations: 56.64 kB / 0.79 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5764, allocations: 13.77 kB / 0.79 GB, free: 47.59 MB / 0.6544 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,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.694e-05/0.5765, allocations: 123 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.5765, allocations: 6.594 kB / 0.7901 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.5765, allocations: 13.77 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5766, allocations: 5.5 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5766, allocations: 0 / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5766, allocations: 0 / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.249e-05/0.5767, allocations: 176.2 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5767, allocations: 0 / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.5767, allocations: 0 / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5767, allocations: 2.719 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.5767, allocations: 3.312 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5767, allocations: 0.5 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5767, allocations: 6 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.5768, allocations: 117.1 kB / 0.7905 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.5769, allocations: 84.48 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.5769, allocations: 0 / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.5769, allocations: 4.75 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.577, allocations: 9.906 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.577, allocations: 2.75 kB / 0.7906 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.577, allocations: 92.33 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.577, allocations: 5.109 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002352/0.5772, allocations: 28.34 kB / 0.7907 GB, free: 47.04 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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 (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.0001271/0.5774, allocations: 107.6 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.5777, allocations: 246.5 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5777, allocations: 1 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.5777, allocations: 33.72 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.578, allocations: 14.89 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.5783, allocations: 185.3 kB / 0.7912 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.5784, allocations: 0.6891 MB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.5784, allocations: 15.81 kB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.5784, allocations: 1.094 kB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.002645/0.5811, allocations: 1.38 MB / 0.7933 GB, free: 45.92 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)