Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 117.3 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 189.6 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.966/1.966, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3059, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.003251/0.3092, allocations: 0.7758 MB / 0.7856 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3114, allocations: 1.129 MB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.3115, allocations: 0 / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.3116, allocations: 3.938 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3118, allocations: 15.88 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.3125, allocations: 136.2 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3127, allocations: 135.7 kB / 0.787 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3128, allocations: 19.98 kB / 0.787 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3129, allocations: 47.91 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3131, allocations: 55.8 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.3131, allocations: 12 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3132, allocations: 23.98 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.3132, allocations: 15.98 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.17e-05/0.3133, allocations: 43.78 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3136, allocations: 123.6 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3136, allocations: 0 / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.596e-06/0.3136, allocations: 3.938 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3136, allocations: 0 / 0.7873 GB, free: 0.6172 MB / 0.6544 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.0009393/0.3146, allocations: 420.9 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.3146, allocations: 8.031 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.3147, allocations: 16.84 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5519/0.8667, allocations: 176.6 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.8668, allocations: 5.281 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.8668, allocations: 6.125 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.8671, allocations: 77.95 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.8672, allocations: 0.9375 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8672, allocations: 1.641 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.8672, allocations: 0 / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.8675, allocations: 78.12 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.8679, allocations: 321.7 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.8681, allocations: 59.95 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.8683, allocations: 44.05 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.8683, allocations: 4.531 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.8686, allocations: 96.62 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.8686, allocations: 3.375 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005744/0.8691, allocations: 165.1 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.8692, allocations: 51.41 kB / 0.7888 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.8693, allocations: 122.4 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.8693, allocations: 32.92 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.8693, allocations: 92.17 kB / 0.789 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.8694, allocations: 21.42 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.8694, allocations: 31.3 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.8695, allocations: 319.5 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.8697, allocations: 62.44 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.8699, allocations: 81.34 kB / 0.7895 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.8703, allocations: 142 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8703, allocations: 0 / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004782/0.8708, allocations: 222.5 kB / 0.7898 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.8708, allocations: 36.8 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8708, allocations: 0 / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8709, allocations: 2.906 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.871, allocations: 18.09 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.871, allocations: 1.125 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.8712, allocations: 40.88 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.8713, allocations: 9.75 kB / 0.7899 GB, free: 47.62 MB / 0.6544 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,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.8713, allocations: 120 kB / 0.79 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.8714, allocations: 12.22 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.8714, allocations: 11.02 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8714, allocations: 3.688 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8714, allocations: 1.844 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.8715, allocations: 82.95 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8715, allocations: 5.25 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.8716, allocations: 13.28 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.8716, allocations: 11.94 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004237/0.8721, allocations: 213.8 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003711/0.8724, allocations: 294 kB / 0.7907 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001623/0.8726, allocations: 45.14 kB / 0.7907 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.8727, allocations: 97.81 kB / 0.7908 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Backend: time 5.31e-07/0.8727, allocations: 0 / 0.7908 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006411/0.8733, allocations: 240.5 kB / 0.791 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004742/0.8738, allocations: 0.6052 MB / 0.7916 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.004221/0.878, allocations: 1.735 MB / 0.7933 GB, free: 46.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)