Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.697/2.697, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001606/0.001606, allocations: 182.2 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.339/2.339, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001148/0.001148, allocations: 86.95 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 13.38 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009395/0.2275, allocations: 442.3 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2292, allocations: 1.189 MB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.2293, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.2293, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2294, allocations: 23.95 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2306, allocations: 280.2 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2308, allocations: 123.8 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.2309, allocations: 16.17 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.231, allocations: 87.86 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2312, allocations: 67.83 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.2312, allocations: 12 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2313, allocations: 27.92 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2314, allocations: 8 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.2314, allocations: 53.62 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2317, allocations: 143.9 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2317, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.387e-06/0.2317, allocations: 7.984 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2317, allocations: 4 kB / 0.9806 GB, free: 25.9 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.0004673/0.2322, allocations: 452.2 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2322, allocations: 15.95 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.2323, allocations: 11.91 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.2324, allocations: 181 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2325, allocations: 4 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.2325, allocations: 16 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.2327, allocations: 57.67 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2327, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2327, allocations: 11.92 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2327, allocations: 0 / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.2328, allocations: 16 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.2334, allocations: 420.4 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.2335, allocations: 30.56 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2336, allocations: 7.938 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.2338, allocations: 95.52 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.2338, allocations: 3.938 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000379/0.2342, allocations: 137.5 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2343, allocations: 63.34 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2344, allocations: 129.7 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.2344, allocations: 37.7 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.2345, allocations: 96.05 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.2346, allocations: 19.8 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.2346, allocations: 12 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.2347, allocations: 314.8 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.235, allocations: 95.88 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2353, allocations: 130 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.2356, allocations: 169.1 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2356, allocations: 0 / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008318/0.2364, allocations: 381 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.2365, allocations: 101.3 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2365, allocations: 3.984 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2366, allocations: 4 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.2366, allocations: 11.95 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2366, allocations: 0 / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.2376, allocations: 122 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.2377, allocations: 23.98 kB / 0.9836 GB, free: 22.49 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.0001464/0.2378, allocations: 132.4 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2378, allocations: 11.84 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.2379, allocations: 8.375 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2379, allocations: 0 / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2379, allocations: 7.953 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2379, allocations: 3.984 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2381, allocations: 185.6 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2381, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.2381, allocations: 0 / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2382, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2382, allocations: 7.984 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2382, allocations: 0 / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2382, allocations: 384 / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2385, allocations: 140.9 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.2385, allocations: 85 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.2386, allocations: 3.984 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.2386, allocations: 12 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.2387, allocations: 7.984 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2387, allocations: 4 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.2388, allocations: 99.27 kB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.643e-06/0.2388, allocations: 0 / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003782/0.2392, allocations: 47.89 kB / 0.9844 GB, free: 21.65 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.0001589/0.2394, allocations: 103.2 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005862/0.24, allocations: 370 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.24, allocations: 0 / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.2401, allocations: 39.92 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2404, allocations: 22.17 kB / 0.9849 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.2408, allocations: 207.8 kB / 0.9851 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.241, allocations: 0.7004 MB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.2411, allocations: 12.42 kB / 0.9858 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.2411, allocations: 15.44 kB / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2411, allocations: 0 / 0.9858 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.006713/0.2478, allocations: 2.381 MB / 0.9881 GB, free: 17.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)