Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001473/0.001474, allocations: 183.7 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008932/0.0008932, allocations: 94.84 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 17.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0011/0.234, allocations: 434.6 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.236, allocations: 1.193 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.2361, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.2362, allocations: 3.984 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2363, allocations: 19.97 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2375, allocations: 275.4 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.2378, allocations: 127.8 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2379, allocations: 12.19 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.2381, allocations: 87.86 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2383, allocations: 67.83 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.2384, allocations: 12 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2385, allocations: 27.92 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.2385, allocations: 7.984 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.2386, allocations: 49.64 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.2388, allocations: 151.9 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2389, allocations: 3.938 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2389, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2389, allocations: 4 kB / 0.9818 GB, free: 25.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006227/0.2395, allocations: 460.2 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.2396, allocations: 16.02 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2397, allocations: 11.91 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2398, allocations: 167 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.2399, allocations: 8 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.2399, allocations: 19.98 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2401, allocations: 53.67 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2401, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2402, allocations: 7.938 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2402, allocations: 0 / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.2403, allocations: 19.98 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.2409, allocations: 412.5 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.241, allocations: 38.56 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2411, allocations: 7.938 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2413, allocations: 95.5 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.2413, allocations: 0 / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003622/0.2417, allocations: 141.4 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.2417, allocations: 51.41 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2418, allocations: 135.6 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.2419, allocations: 33.7 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.242, allocations: 104 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.242, allocations: 15.81 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.2421, allocations: 8 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2421, allocations: 326.8 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2424, allocations: 87.89 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.2426, allocations: 138.6 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2429, allocations: 166.3 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2429, allocations: 4 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007239/0.2436, allocations: 378.4 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.2437, allocations: 101.3 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2437, allocations: 0 / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2438, allocations: 7.938 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-05/0.2438, allocations: 4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.2438, allocations: 0 / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.2446, allocations: 124.2 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.2447, allocations: 19.98 kB / 0.9848 GB, free: 21.8 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2448, allocations: 129.8 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.2448, allocations: 15.89 kB / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.2449, allocations: 12.38 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2449, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2449, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2449, allocations: 3.984 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2451, allocations: 197.5 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2451, allocations: 0 / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.2451, allocations: 4 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2451, allocations: 0 / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2451, allocations: 8 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2451, allocations: 0 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2452, allocations: 0 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.2454, allocations: 141.2 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2454, allocations: 85.02 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2454, allocations: 0 / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.2455, allocations: 12 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.2455, allocations: 7.984 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2456, allocations: 7.984 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.2456, allocations: 96.67 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.213e-06/0.2456, allocations: 0 / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003986/0.246, allocations: 47.94 kB / 0.9856 GB, free: 20.96 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: 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 (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.0001624/0.2462, allocations: 103.2 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.2467, allocations: 366.1 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2468, allocations: 0 / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.2468, allocations: 39.92 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2472, allocations: 24.8 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.2476, allocations: 213.2 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.2477, allocations: 0.7004 MB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.2478, allocations: 8.438 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2478, allocations: 11.44 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2479, allocations: 4 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.006247/0.2541, allocations: 2.393 MB / 0.9893 GB, free: 17.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)