Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009706/0.009706, allocations: 89.31 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001129/0.001128, allocations: 174.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.267/2.267, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.362/2.362, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 15.12 kB / 0.6243 GB, free: 21.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 106.2 MB / 0.7281 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001934/0.2182, allocations: 1.175 MB / 0.7292 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.2188, allocations: 213 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.2188, allocations: 4 kB / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.2189, allocations: 3.938 kB / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.219, allocations: 7.984 kB / 0.7294 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2191, allocations: 19.97 kB / 0.7295 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.124e-05/0.2193, allocations: 39.89 kB / 0.7295 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2194, allocations: 15.98 kB / 0.7295 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.2194, allocations: 19.92 kB / 0.7295 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.2195, allocations: 27.89 kB / 0.7296 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2196, allocations: 0 / 0.7296 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2196, allocations: 4 kB / 0.7296 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2196, allocations: 7.938 kB / 0.7296 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.2197, allocations: 33.7 kB / 0.7296 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.2198, allocations: 43.91 kB / 0.7296 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2198, allocations: 0 / 0.7296 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2198, allocations: 0 / 0.7296 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2198, allocations: 0 / 0.7296 GB, free: 6.461 MB / 0.5573 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.000666/0.2205, allocations: 367.5 kB / 0.73 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2205, allocations: 19.97 kB / 0.73 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.2206, allocations: 34.56 kB / 0.7301 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2206, allocations: 7.906 kB / 0.7301 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2208, allocations: 178.9 kB / 0.7302 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2208, allocations: 0 / 0.7302 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2209, allocations: 15.98 kB / 0.7302 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2211, allocations: 65.67 kB / 0.7303 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2212, allocations: 4 kB / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2212, allocations: 0 / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2212, allocations: 0 / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.2215, allocations: 59.94 kB / 0.7304 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.2222, allocations: 316.6 kB / 0.7307 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.2229, allocations: 114.5 kB / 0.7308 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2229, allocations: 4.062 kB / 0.7308 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.2232, allocations: 91.44 kB / 0.7309 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.2232, allocations: 0 / 0.7309 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006502/0.2239, allocations: 149.5 kB / 0.731 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.224, allocations: 51.41 kB / 0.7311 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2241, allocations: 114 kB / 0.7312 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.2241, allocations: 33.7 kB / 0.7312 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.2242, allocations: 88.12 kB / 0.7313 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.2242, allocations: 23.75 kB / 0.7313 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.2243, allocations: 0 / 0.7313 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2244, allocations: 326.8 kB / 0.7316 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2246, allocations: 27.98 kB / 0.7316 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.2248, allocations: 59.34 kB / 0.7317 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.225, allocations: 39.98 kB / 0.7317 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.225, allocations: 0 / 0.7317 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000445/0.2254, allocations: 125.5 kB / 0.7319 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2255, allocations: 7.125 kB / 0.7319 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2255, allocations: 0 / 0.7319 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2255, allocations: 4 kB / 0.7319 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2257, allocations: 23.88 kB / 0.7319 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2257, allocations: 0 / 0.7319 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2258, allocations: 20.08 kB / 0.7319 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2259, allocations: 11.94 kB / 0.7319 GB, free: 3.887 MB / 0.5573 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.0001065/0.226, allocations: 113.8 kB / 0.732 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.226, allocations: 8.469 kB / 0.732 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.2261, allocations: 12.36 kB / 0.7321 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2261, allocations: 0 / 0.7321 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2261, allocations: 3.953 kB / 0.7321 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2261, allocations: 4 kB / 0.7321 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.2268, allocations: 370.4 kB / 0.7324 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2268, allocations: 3.938 kB / 0.7324 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.2269, allocations: 15.98 kB / 0.7324 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.2269, allocations: 4 kB / 0.7324 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.227, allocations: 7.953 kB / 0.7324 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.227, allocations: 0 / 0.7324 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.227, allocations: 0 / 0.7324 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.2274, allocations: 207.4 kB / 0.7326 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.2275, allocations: 93.02 kB / 0.7327 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2275, allocations: 0 / 0.7327 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2277, allocations: 19.94 kB / 0.7328 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.2278, allocations: 11.97 kB / 0.7328 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2278, allocations: 3.984 kB / 0.7328 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.2279, allocations: 95.28 kB / 0.7329 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2279, allocations: 0 / 0.7329 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003186/0.2282, allocations: 12 kB / 0.7329 GB, free: 2.82 MB / 0.5573 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.0008047/0.2291, allocations: 0.744 MB / 0.7336 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2295, allocations: 88.02 kB / 0.7337 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2295, allocations: 0 / 0.7337 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.2297, allocations: 39.97 kB / 0.7337 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.23, allocations: 15.94 kB / 0.7337 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.2316, allocations: 1.015 MB / 0.7347 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2319, allocations: 0.6926 MB / 0.7354 GB, free: 120 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.392e-05/0.232, allocations: 7.984 kB / 0.7354 GB, free: 112 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.232, allocations: 15.44 kB / 0.7354 GB, free: 96 kB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.232, allocations: 0 / 0.7354 GB, free: 96 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2529, allocations: 1.616 MB / 0.737 GB, free: 14.59 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.2533, allocations: 188.3 kB / 0.7372 GB, free: 14.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.505, allocations: 3.938 kB / 0.7372 GB, free: 14.34 MB / 0.573 GB