Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 178.3 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 0.5785 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007966, allocations: 91.91 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 17.98 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.329, allocations: 131.8 MB / 1.03 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.3292, allocations: 75.94 kB / 1.03 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002879/0.3321, allocations: 1.104 MB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3321, allocations: 3.938 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3322, allocations: 4 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004983/0.3327, allocations: 395.3 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3327, allocations: 8.031 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.3327, allocations: 8.844 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3329, allocations: 176.2 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3329, allocations: 8.375 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3329, allocations: 4.312 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3331, allocations: 86.22 kB / 1.032 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3332, allocations: 4.172 kB / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3332, allocations: 7.938 kB / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3332, allocations: 4 kB / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.3335, allocations: 95.86 kB / 1.032 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3339, allocations: 292.8 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3341, allocations: 74.48 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3342, allocations: 56.94 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3342, allocations: 0 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.3345, allocations: 103.4 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3345, allocations: 0 / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0005286/0.3351, allocations: 189.6 kB / 1.033 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3351, allocations: 51.41 kB / 1.033 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.3352, allocations: 125.8 kB / 1.033 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3352, allocations: 25.7 kB / 1.033 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.3353, allocations: 92.05 kB / 1.033 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3353, allocations: 15.75 kB / 1.033 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3353, allocations: 0 / 1.033 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3354, allocations: 326.8 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3356, allocations: 51.95 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3357, allocations: 57.69 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.336, allocations: 121.6 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.336, allocations: 3.938 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003209/0.3363, allocations: 137.6 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3364, allocations: 4 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3364, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3364, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3365, allocations: 31.92 kB / 1.034 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3365, allocations: 0 / 1.034 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3366, allocations: 31.88 kB / 1.034 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3367, allocations: 0 / 1.034 GB, free: 8.152 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.186e-05/0.3367, allocations: 117.8 kB / 1.034 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.3368, allocations: 4 kB / 1.034 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3368, allocations: 8.375 kB / 1.034 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3368, allocations: 7.984 kB / 1.034 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3368, allocations: 4 kB / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3368, allocations: 0 / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.337, allocations: 189.5 kB / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.337, allocations: 0 / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3371, allocations: 23.97 kB / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3371, allocations: 0 / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3371, allocations: 0 / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3371, allocations: 7.938 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3371, allocations: 7.938 kB / 1.034 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.3375, allocations: 161 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3375, allocations: 85 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3375, allocations: 4 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3377, allocations: 24.11 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3377, allocations: 19.95 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3377, allocations: 4 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.3378, allocations: 91.28 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3378, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000176/0.338, allocations: 15.98 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001083/0.3381, allocations: 95.25 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3384, allocations: 115.9 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3384, allocations: 3.938 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3386, allocations: 60.02 kB / 1.035 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.3388, allocations: 18.11 kB / 1.035 GB, free: 7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3391, allocations: 186.3 kB / 1.035 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.3394, allocations: 0.6887 MB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.3394, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.3395, allocations: 11.44 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3395, allocations: 4 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of Templates: time 0.002521/0.342, allocations: 0.8208 MB / 1.036 GB, free: 5.25 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)