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.397/2.397, allocations: 253.2 MB / 260.6 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 188.8 kB / 319.9 MB, free: 3.07 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.162/2.162, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001144/0.001143, allocations: 90.64 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.646e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9755/1.177, allocations: 131.8 MB / 1.017 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.177, allocations: 72.27 kB / 1.017 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003952/1.181, allocations: 0.9497 MB / 1.018 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.178e-06/1.181, allocations: 0 / 1.018 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.181, allocations: 7.938 kB / 1.018 GB, free: 4.625 MB / 0.6355 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.0006464/1.182, allocations: 361.9 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.182, allocations: 16.02 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/1.182, allocations: 12.47 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/1.182, allocations: 174.6 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.182, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/1.182, allocations: 4 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001189/1.182, allocations: 22.98 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/1.182, allocations: 45.44 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.182, allocations: 3.688 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.182, allocations: 3.938 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/1.182, allocations: 0 / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/1.183, allocations: 286.9 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/1.184, allocations: 100.8 kB / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/1.184, allocations: 16.42 kB / 1.019 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/1.184, allocations: 0 / 1.019 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/1.184, allocations: 72.47 kB / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.184, allocations: 0 / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002562/1.184, allocations: 71.97 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.184, allocations: 59.42 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/1.184, allocations: 111 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/1.185, allocations: 29.7 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/1.185, allocations: 87.75 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/1.185, allocations: 14.94 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/1.185, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.185, allocations: 318.5 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/1.185, allocations: 14.12 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/1.185, allocations: 45.55 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/1.185, allocations: 13.06 kB / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.185, allocations: 0 / 1.02 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/1.185, allocations: 84.66 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.185, allocations: 8 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.185, allocations: 3.984 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.185, allocations: 0 / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.185, allocations: 12 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.186, allocations: 3.984 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/1.186, allocations: 27.97 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/1.186, allocations: 7.25 kB / 1.02 GB, free: 2.539 MB / 0.6355 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 () * 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 0.0001047/1.186, allocations: 105.7 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.186, allocations: 7.844 kB / 1.02 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/1.186, allocations: 12 kB / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.186, allocations: 0 / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.186, allocations: 0 / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.186, allocations: 0 / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/1.186, allocations: 320.5 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.186, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.187, allocations: 15.97 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.187, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.187, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.187, allocations: 2.875 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.187, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/1.187, allocations: 181 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/1.187, allocations: 81.09 kB / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/1.187, allocations: 0 / 1.021 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.187, allocations: 16.55 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/1.187, allocations: 7.984 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/1.187, allocations: 0 / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.873e-05/1.187, allocations: 101.9 kB / 1.021 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/1.187, allocations: 4 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000353/1.188, allocations: 19.84 kB / 1.021 GB, free: 1.641 MB / 0.6355 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) * 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.000167/1.188, allocations: 101.1 kB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001779/1.188, allocations: 47.61 kB / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.188, allocations: 0 / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/1.188, allocations: 22.38 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.189, allocations: 12.95 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/1.189, allocations: 100.8 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/1.189, allocations: 0.6934 MB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.352e-05/1.189, allocations: 11.84 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/1.189, allocations: 11.44 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/1.189, allocations: 0 / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of Templates: time 0.003915/1.193, allocations: 0.6959 MB / 1.023 GB, free: 15.95 MB / 0.6511 GB