Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.815/2.815, allocations: 287.3 MB / 302.3 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 188.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 87.94 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006026/0.0006026, allocations: 16.8 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2232, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.000873/0.2241, allocations: 388.8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2257, allocations: 1.124 MB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.2258, allocations: 3.938 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.2258, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.2259, allocations: 15.97 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.2267, allocations: 199.2 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2268, allocations: 75.91 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.2269, allocations: 15.97 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.227, allocations: 55.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.2272, allocations: 43.86 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.2272, allocations: 16 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.2273, allocations: 16 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.2273, allocations: 11.92 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.2274, allocations: 41.7 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.2276, allocations: 104 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2277, allocations: 0 / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2277, allocations: 0 / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2277, allocations: 0 / 0.9803 GB, free: 26.26 MB / 0.6198 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.0004191/0.2281, allocations: 406.7 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2282, allocations: 12.02 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.2282, allocations: 15.91 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.2283, allocations: 167 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2284, allocations: 7.938 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2284, allocations: 11.98 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2286, allocations: 45.69 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2286, allocations: 0 / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2286, allocations: 0 / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2286, allocations: 4 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.366e-05/0.2287, allocations: 15.98 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.2292, allocations: 364.6 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.2293, allocations: 34.52 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2293, allocations: 0 / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.2295, allocations: 87.33 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.2295, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003035/0.2298, allocations: 105.5 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2299, allocations: 55.41 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.23, allocations: 118 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.23, allocations: 33.7 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2301, allocations: 96.3 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2301, allocations: 11.81 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.2302, allocations: 8 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.2303, allocations: 314.8 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2305, allocations: 63.97 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2307, allocations: 88.27 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.2309, allocations: 115.3 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2309, allocations: 0 / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005901/0.2315, allocations: 264.8 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.2316, allocations: 67.41 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.2316, allocations: 0 / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2316, allocations: 3.984 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-05/0.2317, allocations: 4 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2317, allocations: 0.7812 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006513/0.2324, allocations: 72.06 kB / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.2324, allocations: 19.94 kB / 0.9828 GB, free: 23.42 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2325, allocations: 129.7 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.2326, allocations: 11.89 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.2326, allocations: 20.3 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2326, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2326, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2327, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2328, allocations: 177.7 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.2328, allocations: 0 / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.2328, allocations: 0 / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2328, allocations: 7.984 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2329, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2329, allocations: 7.984 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2329, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2331, allocations: 124.8 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2331, allocations: 81.02 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2332, allocations: 4 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.2332, allocations: 4 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2333, allocations: 3.984 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.2333, allocations: 4 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.2333, allocations: 95.27 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2333, allocations: 0 / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003317/0.2337, allocations: 28 kB / 0.9834 GB, free: 22.64 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000157/0.2339, allocations: 99.25 kB / 0.9835 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.2343, allocations: 246.7 kB / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2343, allocations: 0 / 0.9837 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.2344, allocations: 28.17 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2347, allocations: 29.77 kB / 0.9838 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.2351, allocations: 155.6 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2352, allocations: 0.6926 MB / 0.9846 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.2353, allocations: 7.984 kB / 0.9846 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.2353, allocations: 15.72 kB / 0.9847 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.2353, allocations: 0 / 0.9847 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.005418/0.2407, allocations: 1.68 MB / 0.9863 GB, free: 19.64 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)