Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 177.3 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.654/2.654, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 106.9 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004817, allocations: 15.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2878, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002341/0.2902, allocations: 1.182 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.2908, allocations: 210.3 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.2909, allocations: 0 / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.291, allocations: 3.938 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2911, allocations: 15.95 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2913, allocations: 15.92 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2914, allocations: 39.95 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2916, allocations: 15.98 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.2917, allocations: 23.92 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.2918, allocations: 27.83 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.2918, allocations: 4 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.2918, allocations: 4 kB / 0.9004 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.2919, allocations: 7.984 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2919, allocations: 37.64 kB / 0.9004 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2921, allocations: 43.91 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2921, allocations: 0 / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2921, allocations: 0 / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2921, allocations: 4 kB / 0.9005 GB, free: 63.77 MB / 0.6042 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.0009121/0.2931, allocations: 391.4 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2931, allocations: 12.03 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.2932, allocations: 7.906 kB / 0.9009 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2933, allocations: 182.8 kB / 0.9011 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2934, allocations: 4 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2934, allocations: 4 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.294, allocations: 89.62 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.294, allocations: 7.875 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.294, allocations: 7.984 kB / 0.9012 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2941, allocations: 4 kB / 0.9012 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.2948, allocations: 95.91 kB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.2954, allocations: 292.7 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.2958, allocations: 78.48 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2959, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.2964, allocations: 99.48 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.2964, allocations: 0 / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001197/0.2976, allocations: 193.4 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2976, allocations: 59.39 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.2978, allocations: 117.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2978, allocations: 33.7 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.2979, allocations: 88.08 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.298, allocations: 19.8 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.298, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.2981, allocations: 310.8 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.2985, allocations: 55.95 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.2989, allocations: 69.73 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.2996, allocations: 39.97 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.2996, allocations: 4 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001064/0.3007, allocations: 141.5 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.3007, allocations: 12.03 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3008, allocations: 3.984 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.3008, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3011, allocations: 19.98 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3011, allocations: 7.953 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.3014, allocations: 32.28 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3014, allocations: 3.938 kB / 0.9029 GB, free: 61.11 MB / 0.6042 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 0.0001245/0.3016, allocations: 113.8 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3016, allocations: 11.91 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3017, allocations: 8.375 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3017, allocations: 0 / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3017, allocations: 4 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3017, allocations: 3.953 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.302, allocations: 185.6 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.302, allocations: 7.938 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3022, allocations: 19.98 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3023, allocations: 3.938 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3023, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3023, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3023, allocations: 3.984 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.3032, allocations: 168.9 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.3032, allocations: 85.02 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3033, allocations: 3.984 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3036, allocations: 23.98 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.3037, allocations: 7.984 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3037, allocations: 0 / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.545e-05/0.3038, allocations: 99.27 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.144e-06/0.3038, allocations: 0 / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004547/0.3043, allocations: 19.94 kB / 0.9036 GB, free: 60.26 MB / 0.6042 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.0001627/0.3044, allocations: 103.2 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.3053, allocations: 107.9 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3053, allocations: 0 / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.3057, allocations: 55.97 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3061, allocations: 17.53 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.3067, allocations: 182.4 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.3069, allocations: 0.6887 MB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.309e-05/0.307, allocations: 4.188 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.307, allocations: 11.44 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.3071, allocations: 0 / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.005011/0.3121, allocations: 0.817 MB / 0.9055 GB, free: 58.23 MB / 0.6042 GB