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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001122/0.001122, allocations: 191.4 kB / 371.9 MB, free: 10.25 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.838/1.838, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.001049/0.001049, allocations: 79 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 12.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, 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.Switch): time 0.0009354/0.2274, allocations: 486.5 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2287, allocations: 1.103 MB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.2288, allocations: 3.938 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2288, allocations: 3.938 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.2289, allocations: 15.98 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.2294, allocations: 117 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.2294, allocations: 63.91 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.2295, allocations: 7.984 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.2296, allocations: 43.91 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.2297, allocations: 47.81 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2297, allocations: 8 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.2298, allocations: 19.98 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2298, allocations: 3.984 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.2299, allocations: 41.64 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.746e-05/0.23, allocations: 80.08 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.23, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.23, allocations: 0 / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.23, allocations: 0 / 0.9814 GB, free: 25.64 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.0005132/0.2305, allocations: 424.8 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2306, allocations: 12.02 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.2306, allocations: 11.91 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.2307, allocations: 171 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2307, allocations: 8 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.2308, allocations: 4 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.231, allocations: 97.58 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.231, allocations: 0 / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.231, allocations: 3.984 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2311, allocations: 3.938 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.2314, allocations: 95.91 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.2317, allocations: 332.7 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2319, allocations: 70.47 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.232, allocations: 4 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2323, allocations: 99.44 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.2323, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005584/0.2328, allocations: 201.4 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2329, allocations: 55.41 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.2329, allocations: 122 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.233, allocations: 29.7 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.233, allocations: 92.12 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2331, allocations: 19.75 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.2331, allocations: 4 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.2331, allocations: 318.8 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2333, allocations: 67.95 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2335, allocations: 98.45 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2337, allocations: 97.66 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2337, allocations: 0 / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004888/0.2342, allocations: 235.1 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.2343, allocations: 33.7 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2343, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2343, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2344, allocations: 31.97 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2344, allocations: 4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.2347, allocations: 55.95 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2347, allocations: 11.94 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.693e-05/0.2348, allocations: 117.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.2348, allocations: 7.906 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.2349, allocations: 8.375 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2349, allocations: 3.984 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2349, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2349, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.235, allocations: 193.6 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.235, allocations: 4 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2351, allocations: 19.98 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2351, allocations: 3.938 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2351, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2351, allocations: 4.25 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2352, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.2356, allocations: 184.9 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.2356, allocations: 81.02 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2356, allocations: 7.984 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.2357, allocations: 15.98 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.2357, allocations: 3.984 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.2358, allocations: 4 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.2358, allocations: 96.14 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2358, allocations: 4 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002183/0.236, allocations: 20 kB / 0.9848 GB, free: 21.77 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * 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.0001373/0.2362, allocations: 99.25 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2366, allocations: 211.2 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2366, allocations: 0 / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2368, allocations: 68.02 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.237, allocations: 24.38 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.2373, allocations: 178.6 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2375, allocations: 0.6887 MB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.2375, allocations: 11.92 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.2376, allocations: 7.438 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2376, allocations: 0 / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.003221/0.2408, allocations: 1.339 MB / 0.9874 GB, free: 19.1 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)