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.0091/0.0091, allocations: 111.5 kB / 15.06 MB, free: 5.965 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.001118/0.001118, allocations: 179.9 kB / 15.94 MB, free: 5.93 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 2.06/2.06, allocations: 194.6 MB / 211.3 MB, free: 11.12 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.152/2.152, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004752, allocations: 16 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5467, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.7677, allocations: 124.7 MB / 0.8051 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.768, allocations: 75.95 kB / 0.8052 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003365/0.7714, allocations: 0.9591 MB / 0.8061 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.639e-06/0.7714, allocations: 0 / 0.8061 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.7714, allocations: 7.938 kB / 0.8062 GB, free: 0.5547 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.0005529/0.772, allocations: 363.2 kB / 0.8065 GB, free: 156 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.772, allocations: 12.03 kB / 0.8065 GB, free: 144 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.7721, allocations: 7.906 kB / 0.8065 GB, free: 136 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7723, allocations: 179 kB / 0.8067 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.7723, allocations: 4 kB / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.7723, allocations: 0 / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.7726, allocations: 69.66 kB / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.41e-06/0.7726, allocations: 0 / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7726, allocations: 7.938 kB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-06/0.7726, allocations: 8 kB / 0.8068 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.7729, allocations: 51.89 kB / 0.8068 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.7735, allocations: 312.7 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.774, allocations: 122.5 kB / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.774, allocations: 0 / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.7743, allocations: 95.42 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.7743, allocations: 0 / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000526/0.7748, allocations: 145.6 kB / 0.8075 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.7749, allocations: 51.48 kB / 0.8075 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.775, allocations: 113.1 kB / 0.8076 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.7751, allocations: 37.62 kB / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.7751, allocations: 88.12 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.7752, allocations: 15.81 kB / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-06/0.7752, allocations: 0 / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7754, allocations: 322.8 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.7755, allocations: 31.98 kB / 0.8081 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.7757, allocations: 59.39 kB / 0.8082 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.7758, allocations: 39.97 kB / 0.8082 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-06/0.7758, allocations: 4 kB / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003609/0.7762, allocations: 125.5 kB / 0.8083 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7762, allocations: 4 kB / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-06/0.7763, allocations: 0 / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7763, allocations: 4 kB / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7764, allocations: 11.98 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.094e-06/0.7764, allocations: 7.953 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.7766, allocations: 24.58 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7766, allocations: 4 kB / 0.8084 GB, free: 14.05 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 () * 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.0001217/0.7767, allocations: 123.6 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.7767, allocations: 7.891 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.7768, allocations: 12.38 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-06/0.7768, allocations: 0 / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-06/0.7768, allocations: 3.938 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-06/0.7768, allocations: 3.953 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.7775, allocations: 370.5 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-06/0.7775, allocations: 0 / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.7776, allocations: 15.92 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-06/0.7776, allocations: 4 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7776, allocations: 7.938 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.744e-06/0.7776, allocations: 3.953 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7776, allocations: 0 / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.778, allocations: 207.4 kB / 0.8091 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.7781, allocations: 77.11 kB / 0.8092 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.7781, allocations: 4 kB / 0.8092 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.7783, allocations: 15.97 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.7784, allocations: 15.94 kB / 0.8092 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.7784, allocations: 4 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.7785, allocations: 87.28 kB / 0.8093 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.75e-07/0.7785, allocations: 4 kB / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000319/0.7788, allocations: 12 kB / 0.8093 GB, free: 12.99 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.0001452/0.779, allocations: 111.2 kB / 0.8094 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.7793, allocations: 84.02 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.79e-06/0.7794, allocations: 3.938 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.7796, allocations: 39.95 kB / 0.8095 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.7799, allocations: 8 kB / 0.8095 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.7803, allocations: 180.1 kB / 0.8097 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7807, allocations: 0.6887 MB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.7807, allocations: 4 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.7808, allocations: 7.438 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/0.7808, allocations: 0 / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.003587/0.7844, allocations: 0.745 MB / 0.8111 GB, free: 11.08 MB / 0.6355 GB