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.Continuous.Validation.MultiMax.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.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.0115/0.0115, allocations: 89.42 kB / 15.04 MB, free: 6.059 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.001888/0.001889, allocations: 170.2 kB / 15.92 MB, free: 5.996 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.478/2.478, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.56/2.56, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 16.47 kB / 0.6243 GB, free: 21.15 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001/0.2335, allocations: 406.6 kB / 0.7285 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.2336, allocations: 11.94 kB / 0.7285 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.2337, allocations: 0 / 0.7285 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.2338, allocations: 0 / 0.7285 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.2338, allocations: 7.984 kB / 0.7285 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.896e-05/0.2339, allocations: 4 kB / 0.7285 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.234, allocations: 15.92 kB / 0.7285 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2341, allocations: 27.98 kB / 0.7285 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.2342, allocations: 7.984 kB / 0.7285 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.2342, allocations: 15.88 kB / 0.7286 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2343, allocations: 0 / 0.7286 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.2343, allocations: 0 / 0.7286 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.2343, allocations: 7.938 kB / 0.7286 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.2343, allocations: 29.7 kB / 0.7286 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.2344, allocations: 39.92 kB / 0.7286 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2345, allocations: 0 / 0.7286 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2345, allocations: 0 / 0.7286 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2345, allocations: 0 / 0.7286 GB, free: 7.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003448/0.2348, allocations: 341.1 kB / 0.729 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2349, allocations: 8.031 kB / 0.729 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.2349, allocations: 46.44 kB / 0.729 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.235, allocations: 3.906 kB / 0.729 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2352, allocations: 175 kB / 0.7292 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2352, allocations: 12 kB / 0.7292 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2352, allocations: 4 kB / 0.7292 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2354, allocations: 73.66 kB / 0.7293 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2355, allocations: 0 / 0.7293 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2355, allocations: 4 kB / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2355, allocations: 0 / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2356, allocations: 51.91 kB / 0.7293 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.2363, allocations: 483.1 kB / 0.7298 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.2364, allocations: 177 kB / 0.7299 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2364, allocations: 79.27 kB / 0.73 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.2365, allocations: 109.8 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.2365, allocations: 4 kB / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.2366, allocations: 29.61 kB / 0.7302 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.2366, allocations: 134.6 kB / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2369, allocations: 174.1 kB / 0.7305 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2369, allocations: 29.64 kB / 0.7305 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.237, allocations: 92.14 kB / 0.7306 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.237, allocations: 0 / 0.7306 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.237, allocations: 0 / 0.7306 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2372, allocations: 322.8 kB / 0.7309 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.2372, allocations: 4 kB / 0.7309 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.2372, allocations: 11.98 kB / 0.7309 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.2373, allocations: 8 kB / 0.7309 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2373, allocations: 0 / 0.7309 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001527/0.2375, allocations: 57.53 kB / 0.731 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2375, allocations: 8 kB / 0.731 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2375, allocations: 4 kB / 0.731 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2375, allocations: 0 / 0.731 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.2376, allocations: 7.938 kB / 0.731 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2376, allocations: 3.938 kB / 0.731 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.2377, allocations: 8.031 kB / 0.731 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2377, allocations: 4 kB / 0.731 GB, free: 4.922 MB / 0.5573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001254/0.2378, allocations: 197.1 kB / 0.7312 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.2379, allocations: 108.8 kB / 0.7313 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.238, allocations: 112.9 kB / 0.7314 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.962e-05/0.2381, allocations: 188.2 kB / 0.7316 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.959e-05/0.2382, allocations: 180.3 kB / 0.7317 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/0.2382, allocations: 184.2 kB / 0.7319 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.2386, allocations: 413.2 kB / 0.7323 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/0.2386, allocations: 105 kB / 0.7324 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.2387, allocations: 112.9 kB / 0.7325 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-05/0.2387, allocations: 176.3 kB / 0.7327 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.2388, allocations: 188.2 kB / 0.7329 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.779e-05/0.2389, allocations: 177 kB / 0.733 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-05/0.239, allocations: 188.2 kB / 0.7332 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2392, allocations: 303.7 kB / 0.7335 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2393, allocations: 197.9 kB / 0.7337 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.2394, allocations: 180.5 kB / 0.7339 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.2395, allocations: 112.9 kB / 0.734 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.2396, allocations: 180.3 kB / 0.7341 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.2397, allocations: 109 kB / 0.7342 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001735/0.2399, allocations: 138 kB / 0.7344 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2399, allocations: 0 / 0.7344 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003074/0.2402, allocations: 8 kB / 0.7344 GB, free: 1.215 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004857/0.2407, allocations: 0.8126 MB / 0.7352 GB, free: 384 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.2408, allocations: 7.984 kB / 0.7352 GB, free: 376 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2408, allocations: 4.062 kB / 0.7352 GB, free: 372 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.2408, allocations: 0 / 0.7352 GB, free: 372 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2413, allocations: 0.5301 MB / 0.7357 GB, free: 15.83 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2424, allocations: 0.5818 MB / 0.7363 GB, free: 15.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2427, allocations: 0.7004 MB / 0.737 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.2428, allocations: 11.98 kB / 0.737 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.2429, allocations: 11.44 kB / 0.737 GB, free: 14.45 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/0.2429, allocations: 0 / 0.737 GB, free: 14.45 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.2673, allocations: 1.389 MB / 0.7383 GB, free: 13.16 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/0.2677, allocations: 202.1 kB / 0.7385 GB, free: 12.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.618, allocations: 0 / 0.7385 GB, free: 12.91 MB / 0.573 GB