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.Modulo.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.Modulo,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.102/4.102, allocations: 433.2 MB / 440.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.409e-05, allocations: 12 kB / 0.5325 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6137, allocations: 98.71 MB / 0.6289 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.8421, allocations: 123.5 MB / 0.7495 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.8425, allocations: 71.95 kB / 0.7496 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005879/0.8484, allocations: 1.415 MB / 0.751 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8484, allocations: 0 / 0.751 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8484, allocations: 0 / 0.751 GB, free: 2.594 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.0005791/0.849, allocations: 370.5 kB / 0.7514 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.8491, allocations: 8.031 kB / 0.7514 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.8491, allocations: 7.906 kB / 0.7514 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.8493, allocations: 171 kB / 0.7515 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.8493, allocations: 8 kB / 0.7515 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.8494, allocations: 0 / 0.7515 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.8495, allocations: 16 kB / 0.7516 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.8496, allocations: 41.69 kB / 0.7516 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8496, allocations: 7.938 kB / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8496, allocations: 0 / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8497, allocations: 0 / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.8504, allocations: 285.4 kB / 0.7519 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.8505, allocations: 30.56 kB / 0.7519 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.8505, allocations: 16.86 kB / 0.7519 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.8506, allocations: 0 / 0.7519 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.8506, allocations: 34.56 kB / 0.7519 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.8506, allocations: 0 / 0.7519 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002058/0.8508, allocations: 53.64 kB / 0.752 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.8509, allocations: 55.39 kB / 0.7521 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.851, allocations: 97 kB / 0.7521 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.851, allocations: 29.7 kB / 0.7522 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.8511, allocations: 84.14 kB / 0.7523 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.8511, allocations: 11.83 kB / 0.7523 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.8511, allocations: 4 kB / 0.7523 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8513, allocations: 322.8 kB / 0.7526 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.8513, allocations: 4 kB / 0.7526 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.8513, allocations: 8 kB / 0.7526 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.8514, allocations: 11.94 kB / 0.7526 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8514, allocations: 0 / 0.7526 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001273/0.8515, allocations: 53.59 kB / 0.7527 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8516, allocations: 7.938 kB / 0.7527 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8516, allocations: 0 / 0.7527 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8516, allocations: 0 / 0.7527 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.8518, allocations: 31.97 kB / 0.7527 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8519, allocations: 0 / 0.7527 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.852, allocations: 15.98 kB / 0.7527 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.852, allocations: 0 / 0.7527 GB, free: 0.6445 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 8.472e-05/0.8521, allocations: 112.9 kB / 0.7528 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001277/0.8523, allocations: 45.69 kB / 0.7529 GB, free: 488 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.8523, allocations: 7.906 kB / 0.7529 GB, free: 480 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.8524, allocations: 8.578 kB / 0.7529 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8524, allocations: 0 / 0.7529 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8524, allocations: 3.984 kB / 0.7529 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8524, allocations: 3.953 kB / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.8526, allocations: 146.2 kB / 0.753 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8526, allocations: 0 / 0.753 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.8528, allocations: 35.91 kB / 0.7531 GB, free: 244 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.8528, allocations: 3.938 kB / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.8529, allocations: 0 / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8529, allocations: 0 / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8529, allocations: 0 / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.8531, allocations: 147.5 kB / 0.7532 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.8531, allocations: 85.02 kB / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.8532, allocations: 0 / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.8534, allocations: 19.98 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.8534, allocations: 3.984 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.8535, allocations: 0 / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.8535, allocations: 91.58 kB / 0.7534 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8535, allocations: 0 / 0.7534 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002835/0.8538, allocations: 4 kB / 0.7534 GB, free: 15.86 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.0005268/0.8544, allocations: 0.6912 MB / 0.7541 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.8545, allocations: 24 kB / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8545, allocations: 0 / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.8546, allocations: 12 kB / 0.7541 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.8549, allocations: 8 kB / 0.7541 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.8553, allocations: 109.5 kB / 0.7542 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.8556, allocations: 0.6846 MB / 0.7549 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.747e-05/0.8557, allocations: 0 / 0.7549 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.8558, allocations: 15.44 kB / 0.7549 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.8558, allocations: 0 / 0.7549 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.8903, allocations: 0.9916 MB / 0.7559 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.8907, allocations: 148.6 kB / 0.756 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/3.118, allocations: 0 / 0.756 GB, free: 13.06 MB / 0.6355 GB