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.Division.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.Division,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.447/4.447, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.379e-05/5.389e-05, allocations: 12 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6531, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.9085, allocations: 123.5 MB / 0.7495 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.9089, allocations: 71.95 kB / 0.7496 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003313/0.9122, allocations: 0.8149 MB / 0.7504 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.4e-06/0.9122, allocations: 4 kB / 0.7504 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9123, allocations: 0 / 0.7504 GB, free: 3.156 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005858/0.9129, allocations: 366.5 kB / 0.7507 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9129, allocations: 8.031 kB / 0.7508 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.913, allocations: 7.906 kB / 0.7508 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.9131, allocations: 171 kB / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.9131, allocations: 0 / 0.7509 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.9132, allocations: 11.94 kB / 0.7509 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001087/0.9133, allocations: 16 kB / 0.751 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.9134, allocations: 37.7 kB / 0.751 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.9134, allocations: 3.938 kB / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.9135, allocations: 0 / 0.751 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.9135, allocations: 7.984 kB / 0.751 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.9141, allocations: 285.4 kB / 0.7513 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.287e-05/0.9142, allocations: 30.52 kB / 0.7513 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.9143, allocations: 12.86 kB / 0.7513 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.9143, allocations: 0 / 0.7513 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.9144, allocations: 38.56 kB / 0.7513 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.9144, allocations: 3.938 kB / 0.7514 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.9146, allocations: 49.61 kB / 0.7514 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.9146, allocations: 55.48 kB / 0.7515 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.9147, allocations: 101 kB / 0.7515 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.9148, allocations: 25.7 kB / 0.7516 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.9148, allocations: 88.14 kB / 0.7517 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.9149, allocations: 7.891 kB / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.9149, allocations: 0 / 0.7517 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.915, allocations: 318.8 kB / 0.752 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.9151, allocations: 8 kB / 0.752 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.9151, allocations: 15.94 kB / 0.752 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.9152, allocations: 8 kB / 0.752 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9152, allocations: 0 / 0.752 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001246/0.9153, allocations: 49.59 kB / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9154, allocations: 4 kB / 0.7521 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9154, allocations: 0 / 0.7521 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9154, allocations: 4 kB / 0.7521 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.9157, allocations: 23.98 kB / 0.7521 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9157, allocations: 3.984 kB / 0.7521 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.9158, allocations: 15.98 kB / 0.7521 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.9159, allocations: 0 / 0.7521 GB, free: 1.215 MB / 0.6198 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 9.294e-05/0.916, allocations: 108.9 kB / 0.7522 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001738/0.9161, allocations: 57.62 kB / 0.7523 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.9162, allocations: 3.906 kB / 0.7523 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.9162, allocations: 8.344 kB / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9162, allocations: 240 / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.9163, allocations: 0 / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.9163, allocations: 7.938 kB / 0.7523 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.9165, allocations: 150.2 kB / 0.7524 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9165, allocations: 0 / 0.7524 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.9167, allocations: 27.97 kB / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9167, allocations: 0 / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.9167, allocations: 0 / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9167, allocations: 0 / 0.7524 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.9168, allocations: 4 kB / 0.7524 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.917, allocations: 147.5 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.917, allocations: 84.95 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.9171, allocations: 4 kB / 0.7527 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.9173, allocations: 15.98 kB / 0.7527 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.9173, allocations: 7.984 kB / 0.7527 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.9174, allocations: 4 kB / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.9174, allocations: 83.28 kB / 0.7528 GB, free: 440 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9174, allocations: 3.938 kB / 0.7528 GB, free: 436 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000295/0.9177, allocations: 7.938 kB / 0.7528 GB, free: 428 kB / 0.6198 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.0005579/0.9183, allocations: 0.6851 MB / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.9185, allocations: 23.92 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9185, allocations: 0 / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.9185, allocations: 16 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.9188, allocations: 8 kB / 0.7535 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.9192, allocations: 97.58 kB / 0.7536 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.9196, allocations: 0.6807 MB / 0.7543 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.66e-05/0.9196, allocations: 0 / 0.7543 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.9197, allocations: 15.44 kB / 0.7543 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.9197, allocations: 0 / 0.7543 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.9572, allocations: 0.9628 MB / 0.7552 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.9577, allocations: 159.8 kB / 0.7554 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.286, allocations: 0 / 0.7554 GB, free: 13.66 MB / 0.6355 GB