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.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.469/2.469, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001562/0.001562, allocations: 173.7 kB / 325.6 MB, free: 2.824 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.509/2.509, allocations: 205.4 MB / 0.5766 GB, free: 20.82 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.001673/0.001673, allocations: 100.5 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00173/0.2219, allocations: 1.166 MB / 0.9 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.2225, allocations: 214.3 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.2226, allocations: 3.938 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.2226, allocations: 3.984 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.771e-05/0.2227, allocations: 7.922 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.2229, allocations: 19.97 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.223, allocations: 31.97 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2231, allocations: 23.95 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.2232, allocations: 19.92 kB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.2232, allocations: 19.86 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2233, allocations: 4 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2233, allocations: 0 / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.2233, allocations: 11.98 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.2234, allocations: 37.64 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.2235, allocations: 39.91 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2235, allocations: 0 / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2235, allocations: 4 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.2235, allocations: 0 / 0.9005 GB, free: 63.84 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.0006249/0.2241, allocations: 375.4 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2242, allocations: 8.031 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.2242, allocations: 7.906 kB / 0.9008 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2244, allocations: 182.8 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2244, allocations: 3.984 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2244, allocations: 8 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2247, allocations: 73.61 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2247, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2247, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2248, allocations: 0 / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.2251, allocations: 59.95 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.2257, allocations: 316.7 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.2264, allocations: 122.4 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2264, allocations: 4.062 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.2267, allocations: 83.5 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.2268, allocations: 0 / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006328/0.2274, allocations: 141.5 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2275, allocations: 59.36 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.2276, allocations: 114 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2276, allocations: 37.69 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2277, allocations: 84.14 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2277, allocations: 23.81 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.2277, allocations: 0 / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.2278, allocations: 322.8 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.228, allocations: 31.98 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2282, allocations: 55.41 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2283, allocations: 43.97 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2284, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004169/0.2288, allocations: 125.5 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2288, allocations: 4.562 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2288, allocations: 0 / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2289, allocations: 4 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.229, allocations: 15.98 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.229, allocations: 3.953 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2292, allocations: 19.98 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2292, allocations: 11.97 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.684e-05/0.2293, allocations: 119 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.2293, allocations: 11.89 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2294, allocations: 12.31 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2294, allocations: 0 / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2294, allocations: 0 / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2294, allocations: 7.953 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.2302, allocations: 366.5 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2302, allocations: 0 / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2303, allocations: 15.98 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.2304, allocations: 7.984 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2304, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.2304, allocations: 7.953 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2304, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.231, allocations: 203.4 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.2311, allocations: 89.08 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.2311, allocations: 4 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2314, allocations: 19.97 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.2315, allocations: 11.94 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.2315, allocations: 4 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.2316, allocations: 91.22 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2316, allocations: 0 / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005524/0.2322, allocations: 12 kB / 0.9036 GB, free: 60.25 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0001717/0.2324, allocations: 107.2 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.2331, allocations: 79.89 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2331, allocations: 4.188 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2334, allocations: 39.97 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.2338, allocations: 11.94 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.2345, allocations: 171.5 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2347, allocations: 0.6926 MB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.023e-05/0.2348, allocations: 7.859 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2349, allocations: 15.38 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.2349, allocations: 0 / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.005292/0.2402, allocations: 0.7368 MB / 0.9055 GB, free: 58.34 MB / 0.6042 GB