Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004183/0.004183, allocations: 230.6 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001152/0.001151, allocations: 174.6 kB / 16.7 MB, free: 5.457 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.922/3.922, allocations: 389 MB / 406.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.229/4.229, allocations: 472.3 MB / 0.9024 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004846, allocations: 22.75 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1837, allocations: 98.71 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7733/0.957, allocations: 124.7 MB / 1.226 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.9573, allocations: 77.36 kB / 1.227 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003746/0.9611, allocations: 0.948 MB / 1.227 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9612, allocations: 0 / 1.227 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.9612, allocations: 0 / 1.227 GB, free: 27.64 MB / 0.6198 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.0005849/0.9618, allocations: 377.6 kB / 1.228 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9618, allocations: 12.03 kB / 1.228 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.9619, allocations: 3.906 kB / 1.228 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.962, allocations: 177.4 kB / 1.228 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.962, allocations: 7.5 kB / 1.228 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.9621, allocations: 4 kB / 1.228 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.9623, allocations: 67.95 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9624, allocations: 0 / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9624, allocations: 2.344 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9624, allocations: 4.219 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.9627, allocations: 62.27 kB / 1.228 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.9633, allocations: 310.7 kB / 1.228 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.964, allocations: 116.5 kB / 1.229 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.9642, allocations: 41.81 kB / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.9642, allocations: 0.6875 kB / 1.229 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.9645, allocations: 80.97 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.9645, allocations: 0 / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006325/0.9652, allocations: 144.2 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9652, allocations: 55.86 kB / 1.229 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.9653, allocations: 129.3 kB / 1.229 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.9654, allocations: 26.45 kB / 1.229 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.9655, allocations: 91.97 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.9655, allocations: 15.67 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.9655, allocations: 4 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9657, allocations: 322.7 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.9658, allocations: 32.62 kB / 1.229 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.966, allocations: 57.66 kB / 1.229 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.9662, allocations: 37.75 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9662, allocations: 1.594 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004238/0.9667, allocations: 126.1 kB / 1.23 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9667, allocations: 8 kB / 1.23 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9667, allocations: 0 / 1.23 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9667, allocations: 7.469 kB / 1.23 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.9669, allocations: 15.66 kB / 1.23 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9669, allocations: 0 / 1.23 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.9671, allocations: 22.89 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.9671, allocations: 4 kB / 1.23 GB, free: 25.48 MB / 0.6198 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 0.0001206/0.9672, allocations: 121.8 kB / 1.23 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.9673, allocations: 8.562 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.9673, allocations: 8.156 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9673, allocations: 10 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.9673, allocations: 5.312 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9674, allocations: 0 / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.968, allocations: 373.4 kB / 1.23 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.968, allocations: 0 / 1.23 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.9681, allocations: 20.12 kB / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.9682, allocations: 0 / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.9682, allocations: 3.953 kB / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.9682, allocations: 6.281 kB / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9682, allocations: 0 / 1.23 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.9692, allocations: 210 kB / 1.23 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.9693, allocations: 78.66 kB / 1.231 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.9693, allocations: 0 / 1.231 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.9695, allocations: 26.48 kB / 1.231 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.9696, allocations: 7.469 kB / 1.231 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.9696, allocations: 0.75 kB / 1.231 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.943e-05/0.9697, allocations: 95.2 kB / 1.231 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9697, allocations: 0 / 1.231 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003112/0.97, allocations: 18.47 kB / 1.231 GB, free: 40.56 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) * 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.0001271/0.9701, allocations: 100.6 kB / 1.231 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.9706, allocations: 86.64 kB / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9706, allocations: 0 / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.9708, allocations: 41.09 kB / 1.231 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.9712, allocations: 13.83 kB / 1.231 GB, free: 40.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.9716, allocations: 167.8 kB / 1.231 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.9719, allocations: 0.6916 MB / 1.232 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.972, allocations: 5.594 kB / 1.232 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.9721, allocations: 12.91 kB / 1.232 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.9721, allocations: 3.938 kB / 1.232 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.003948/0.976, allocations: 0.7429 MB / 1.232 GB, free: 39.1 MB / 0.6355 GB