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.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.825/1.825, allocations: 288.4 MB / 303.7 MB, free: 8.102 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.001515/0.001515, allocations: 187.2 kB / 372.3 MB, free: 10.11 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/2, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008925/0.0008925, allocations: 96.78 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 13.81 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008848/0.257, allocations: 390.7 kB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2583, allocations: 1.161 MB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2583, allocations: 4 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2583, allocations: 3.938 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.2584, allocations: 11.92 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.259, allocations: 184.7 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2591, allocations: 131.8 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2592, allocations: 11.98 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.2593, allocations: 59.88 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.2594, allocations: 55.81 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2594, allocations: 8 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.2595, allocations: 23.98 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2595, allocations: 4 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.2596, allocations: 81.52 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2597, allocations: 104 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2597, allocations: 0 / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2597, allocations: 0 / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2598, allocations: 0 / 0.9823 GB, free: 25.09 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.0004181/0.2602, allocations: 410.8 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2602, allocations: 8.031 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.2603, allocations: 12.84 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.2604, allocations: 164.4 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2604, allocations: 8.375 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.2604, allocations: 12.38 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2606, allocations: 50.22 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2606, allocations: 192 / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2606, allocations: 7.938 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2606, allocations: 0 / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.2607, allocations: 23.88 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2611, allocations: 352.7 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.2611, allocations: 38.5 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.2612, allocations: 12.86 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2612, allocations: 0 / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.2614, allocations: 91.38 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2614, allocations: 3.938 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002177/0.2616, allocations: 101.6 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2616, allocations: 51.41 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.2617, allocations: 117.8 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.2617, allocations: 33.7 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.2618, allocations: 100 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.2618, allocations: 7.891 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.2618, allocations: 12 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.2619, allocations: 322.8 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.262, allocations: 55.97 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2621, allocations: 92.77 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2623, allocations: 159.6 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2623, allocations: 0 / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.2626, allocations: 257.3 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.2627, allocations: 71.33 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2627, allocations: 4 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2627, allocations: 0 / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.482e-05/0.2627, allocations: 16.06 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2628, allocations: 0 / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.2631, allocations: 79.83 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.2632, allocations: 8 kB / 0.9849 GB, free: 22.16 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 7.732e-05/0.2632, allocations: 139.4 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2633, allocations: 4 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.2633, allocations: 4.375 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2633, allocations: 4 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2633, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2633, allocations: 4 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.2634, allocations: 181.6 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2634, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.2634, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2634, allocations: 3.938 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2635, allocations: 4 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2635, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2635, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.2636, allocations: 113.3 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.2636, allocations: 96.95 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2636, allocations: 3.984 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.2637, allocations: 0 / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.2637, allocations: 4 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2637, allocations: 8 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.2638, allocations: 91.27 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2638, allocations: 0 / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000204/0.264, allocations: 24 kB / 0.9855 GB, free: 21.4 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.0001703/0.2641, allocations: 111.2 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2644, allocations: 254.7 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2644, allocations: 0 / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.2645, allocations: 24 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2647, allocations: 16.2 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.265, allocations: 171.8 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2651, allocations: 0.6848 MB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.2652, allocations: 7.984 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.2652, allocations: 11.44 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2652, allocations: 0 / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.00366/0.2688, allocations: 1.718 MB / 0.9884 GB, free: 18.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)