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.437/2.437, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.001383/0.001383, allocations: 181.5 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.5753 GB, free: 10.51 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.001123/0.001123, allocations: 96.2 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.856e-05, allocations: 12 kB / 0.7912 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8621/1.06, allocations: 131.6 MB / 1.023 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.06, allocations: 71.64 kB / 1.023 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00481/1.065, allocations: 0.9692 MB / 1.024 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/1.065, allocations: 0 / 1.024 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.096e-06/1.065, allocations: 0 / 1.024 GB, free: 2.102 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.0007177/1.066, allocations: 361.5 kB / 1.025 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.066, allocations: 8.031 kB / 1.025 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/1.066, allocations: 18.27 kB / 1.025 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/1.066, allocations: 167 kB / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/1.066, allocations: 0 / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/1.066, allocations: 11.48 kB / 1.025 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/1.066, allocations: 56.25 kB / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.066, allocations: 0 / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.066, allocations: 0 / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.066, allocations: 0 / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/1.066, allocations: 27.05 kB / 1.025 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/1.067, allocations: 308.7 kB / 1.025 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/1.068, allocations: 112 kB / 1.025 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/1.068, allocations: 16.36 kB / 1.025 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/1.068, allocations: 8 kB / 1.025 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/1.068, allocations: 63.45 kB / 1.025 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/1.068, allocations: 0 / 1.025 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003183/1.069, allocations: 84.17 kB / 1.026 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.069, allocations: 59.33 kB / 1.026 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.069, allocations: 108 kB / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.069, allocations: 29.7 kB / 1.026 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/1.069, allocations: 91.56 kB / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/1.069, allocations: 19 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.069, allocations: 3.688 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.069, allocations: 321.8 kB / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/1.07, allocations: 11.88 kB / 1.026 GB, free: 156 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/1.07, allocations: 39.12 kB / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.367e-05/1.07, allocations: 23.38 kB / 1.026 GB, free: 92 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.07, allocations: 0 / 1.026 GB, free: 92 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002987/1.07, allocations: 91.64 kB / 1.026 GB, free: 8 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.07, allocations: 4 kB / 1.026 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.07, allocations: 0 / 1.026 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.07, allocations: 4 kB / 1.026 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.07, allocations: 23 kB / 1.026 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.07, allocations: 4.094 kB / 1.026 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.071, allocations: 15.98 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/1.071, allocations: 4 kB / 1.026 GB, free: 15.96 MB / 0.6511 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.0001188/1.071, allocations: 111.3 kB / 1.026 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/1.071, allocations: 11.84 kB / 1.027 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/1.071, allocations: 12.56 kB / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.071, allocations: 0 / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.071, allocations: 7.953 kB / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.071, allocations: 3.984 kB / 1.027 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/1.072, allocations: 339.3 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.072, allocations: 0 / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.072, allocations: 8 kB / 1.027 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.072, allocations: 64 / 1.027 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.072, allocations: 11.94 kB / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.072, allocations: 0 / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.072, allocations: 4 kB / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/1.072, allocations: 170.4 kB / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/1.072, allocations: 81.11 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/1.072, allocations: 0 / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/1.073, allocations: 22.86 kB / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/1.073, allocations: 15.92 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/1.073, allocations: 4 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.951e-05/1.073, allocations: 90.84 kB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.073, allocations: 0 / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005636/1.073, allocations: 22.91 kB / 1.027 GB, free: 15.02 MB / 0.6511 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.0001979/1.074, allocations: 105 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001853/1.074, allocations: 49.8 kB / 1.027 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.074, allocations: 4.188 kB / 1.027 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/1.074, allocations: 22.81 kB / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/1.074, allocations: 4 kB / 1.027 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/1.075, allocations: 103.5 kB / 1.028 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.075, allocations: 0.6887 MB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.179e-05/1.075, allocations: 15.8 kB / 1.028 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/1.075, allocations: 15.42 kB / 1.028 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/1.075, allocations: 0 / 1.028 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.003909/1.079, allocations: 0.7367 MB / 1.029 GB, free: 13.28 MB / 0.6511 GB