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.01089/0.01089, allocations: 221.7 kB / 15.17 MB, free: 5.926 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.001139/0.001139, allocations: 176.7 kB / 16.06 MB, free: 5.832 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 4/4, allocations: 389.1 MB / 405.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.982/3.982, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 12 kB / 1.008 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5711, allocations: 98.72 MB / 1.104 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001277/0.5725, allocations: 1.168 MB / 1.105 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.5729, allocations: 208.9 kB / 1.105 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.5729, allocations: 0 / 1.105 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.573, allocations: 9.203 kB / 1.105 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.573, allocations: 7.938 kB / 1.105 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.5732, allocations: 15.92 kB / 1.105 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.5733, allocations: 52.66 kB / 1.105 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.777e-05/0.5734, allocations: 20.53 kB / 1.105 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.5734, allocations: 25.48 kB / 1.106 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.5735, allocations: 19.91 kB / 1.106 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.5735, allocations: 4 kB / 1.106 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.5735, allocations: 4 kB / 1.106 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.5736, allocations: 6 kB / 1.106 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.5736, allocations: 33.64 kB / 1.106 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.5737, allocations: 39.89 kB / 1.106 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5737, allocations: 0 / 1.106 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.911e-06/0.5737, allocations: 3.938 kB / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.426e-06/0.5737, allocations: 0.6875 kB / 1.106 GB, free: 9.078 MB / 0.5105 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.0004499/0.5742, allocations: 375.8 kB / 1.106 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5742, allocations: 8.031 kB / 1.106 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.5743, allocations: 11.89 kB / 1.106 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.5744, allocations: 175 kB / 1.106 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5744, allocations: 5.438 kB / 1.106 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.5744, allocations: 4 kB / 1.106 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.5746, allocations: 71.06 kB / 1.106 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5747, allocations: 0 / 1.106 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5747, allocations: 4 kB / 1.106 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-06/0.5747, allocations: 1.031 kB / 1.106 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.5749, allocations: 55.14 kB / 1.106 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.5754, allocations: 310.4 kB / 1.107 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.5759, allocations: 119.1 kB / 1.107 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.576, allocations: 38.86 kB / 1.107 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.5761, allocations: 7.938 kB / 1.107 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.5763, allocations: 89.47 kB / 1.107 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 3.039e-06/0.5763, allocations: 2.031 kB / 1.107 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0004724/0.5768, allocations: 147.6 kB / 1.107 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5769, allocations: 51.41 kB / 1.107 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.577, allocations: 115.7 kB / 1.107 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.577, allocations: 33.7 kB / 1.107 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.577, allocations: 88.12 kB / 1.107 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.5771, allocations: 20.69 kB / 1.107 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-06/0.5771, allocations: 0 / 1.107 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.5772, allocations: 323.4 kB / 1.108 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.5773, allocations: 29.39 kB / 1.108 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.5774, allocations: 65.81 kB / 1.108 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5776, allocations: 40.7 kB / 1.108 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-06/0.5776, allocations: 3.984 kB / 1.108 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000314/0.5779, allocations: 121.6 kB / 1.108 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5779, allocations: 4 kB / 1.108 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.753e-06/0.5779, allocations: 0 / 1.108 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.578, allocations: 4 kB / 1.108 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.5781, allocations: 23.88 kB / 1.108 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.137e-06/0.5781, allocations: 0 / 1.108 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.5782, allocations: 19.98 kB / 1.108 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.5782, allocations: 8.031 kB / 1.108 GB, free: 6.547 MB / 0.5105 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 7.533e-05/0.5783, allocations: 113.8 kB / 1.108 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.5783, allocations: 11.89 kB / 1.108 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.5784, allocations: 8.375 kB / 1.108 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5784, allocations: 0 / 1.108 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-06/0.5784, allocations: 3.953 kB / 1.108 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.513e-06/0.5784, allocations: 7.984 kB / 1.108 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.5789, allocations: 366.8 kB / 1.108 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-06/0.5789, allocations: 0 / 1.108 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.579, allocations: 11.98 kB / 1.108 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.56e-06/0.579, allocations: 4 kB / 1.108 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5791, allocations: 11.95 kB / 1.108 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.067e-06/0.5791, allocations: 80 / 1.108 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-06/0.5791, allocations: 7.922 kB / 1.108 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.5794, allocations: 211.3 kB / 1.109 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.5794, allocations: 89.02 kB / 1.109 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.5795, allocations: 0 / 1.109 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.5796, allocations: 27.92 kB / 1.109 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.5797, allocations: 4 kB / 1.109 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5797, allocations: 7.984 kB / 1.109 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.5797, allocations: 87.28 kB / 1.109 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.07e-07/0.5798, allocations: 480 / 1.109 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003151/0.5801, allocations: 16 kB / 1.109 GB, free: 5.473 MB / 0.5105 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.000103/0.5802, allocations: 111.2 kB / 1.109 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.5805, allocations: 84.08 kB / 1.109 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5805, allocations: 4.062 kB / 1.109 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.5807, allocations: 43.84 kB / 1.109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.581, allocations: 12 kB / 1.109 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.5814, allocations: 166.6 kB / 1.109 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.5816, allocations: 0.6918 MB / 1.11 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.5816, allocations: 7.781 kB / 1.11 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.5816, allocations: 15.44 kB / 1.11 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of SimCode: time 1.813e-06/0.5817, allocations: 0 / 1.11 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of Templates: time 0.003206/0.5849, allocations: 0.741 MB / 1.111 GB, free: 3.555 MB / 0.5105 GB