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.Continuous.Validation.Add.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.138/4.138, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.458e-05, allocations: 9 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2268, allocations: 98.76 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.4583, allocations: 123.5 MB / 0.7495 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.4586, allocations: 75.95 kB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003528/0.4622, allocations: 0.8602 MB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4622, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4623, allocations: 0 / 0.7504 GB, free: 12.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006025/0.4629, allocations: 366.5 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4629, allocations: 12.03 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.463, allocations: 7.859 kB / 0.7508 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4631, allocations: 171 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4632, allocations: 0 / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.4632, allocations: 4 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.4633, allocations: 16 kB / 0.751 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4634, allocations: 53.62 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4635, allocations: 0 / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4635, allocations: 0 / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.4635, allocations: 0 / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.4642, allocations: 285.4 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.4643, allocations: 34.56 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.4644, allocations: 16.86 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.4644, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4644, allocations: 38.56 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.178e-06/0.4645, allocations: 0 / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000197/0.4647, allocations: 45.64 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4647, allocations: 55.41 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4648, allocations: 109.2 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4649, allocations: 29.7 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.4649, allocations: 84.52 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.465, allocations: 11.8 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.465, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4651, allocations: 322.8 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.4652, allocations: 7.938 kB / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.4652, allocations: 12 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.4653, allocations: 12.12 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4653, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001539/0.4655, allocations: 57.62 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4655, allocations: 4 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4655, allocations: 0 / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4655, allocations: 4 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.4658, allocations: 15.98 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4658, allocations: 7.984 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.466, allocations: 19.92 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.466, allocations: 7.953 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.867e-05/0.4661, allocations: 101 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001469/0.4663, allocations: 57.59 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4663, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.4663, allocations: 8.344 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4664, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4664, allocations: 3.953 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4664, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4666, allocations: 150.2 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4666, allocations: 0 / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.4668, allocations: 23.97 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4668, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4668, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4669, allocations: 4 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4669, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4671, allocations: 151.4 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4671, allocations: 77.11 kB / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4672, allocations: 4 kB / 0.7527 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4674, allocations: 19.98 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4674, allocations: 7.984 kB / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.4675, allocations: 0 / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.4675, allocations: 87.28 kB / 0.7528 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4675, allocations: 288 / 0.7528 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003063/0.4678, allocations: 11.91 kB / 0.7529 GB, free: 9.723 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005327/0.4684, allocations: 0.6889 MB / 0.7535 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.4685, allocations: 27.94 kB / 0.7536 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4686, allocations: 0 / 0.7536 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.4686, allocations: 15.94 kB / 0.7536 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4689, allocations: 8.688 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.4694, allocations: 98.52 kB / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4697, allocations: 0.6924 MB / 0.7544 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.204e-05/0.4698, allocations: 0 / 0.7544 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.4699, allocations: 11.44 kB / 0.7544 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4699, allocations: 0 / 0.7544 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.5056, allocations: 1.014 MB / 0.7554 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.5059, allocations: 137.8 kB / 0.7555 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.738, allocations: 3.938 kB / 0.7555 GB, free: 6.898 MB / 0.6355 GB