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.Product.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01223/0.01223, allocations: 222.2 kB / 15.17 MB, free: 5.918 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001167/0.001168, allocations: 174.5 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.831/3.831, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.021/4.021, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 19.94 kB / 1.008 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6342, allocations: 98.71 MB / 1.104 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001456/0.6357, allocations: 1.116 MB / 1.105 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003026/0.636, allocations: 115.1 kB / 1.105 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.6361, allocations: 0.6875 kB / 1.105 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.6361, allocations: 4.547 kB / 1.105 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.6362, allocations: 4.781 kB / 1.105 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 5.5e-05/0.6363, allocations: 7.984 kB / 1.105 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.6364, allocations: 40.45 kB / 1.105 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.6365, allocations: 9.844 kB / 1.105 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.6366, allocations: 15.91 kB / 1.105 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.6366, allocations: 23.91 kB / 1.105 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.6366, allocations: 0 / 1.105 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.6367, allocations: 4.75 kB / 1.105 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.6367, allocations: 4 kB / 1.105 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.6367, allocations: 27.08 kB / 1.105 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.274e-05/0.6368, allocations: 31.88 kB / 1.106 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6368, allocations: 0 / 1.106 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6368, allocations: 0 / 1.106 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6368, allocations: 0.9688 kB / 1.106 GB, free: 9.23 MB / 0.5105 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.0005442/0.6374, allocations: 370.9 kB / 1.106 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6374, allocations: 15.09 kB / 1.106 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.6375, allocations: 34.5 kB / 1.106 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.6375, allocations: 4 kB / 1.106 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.6376, allocations: 174.9 kB / 1.106 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6376, allocations: 4 kB / 1.106 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.6377, allocations: 0 / 1.106 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.638, allocations: 88.08 kB / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.638, allocations: 0 / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6381, allocations: 0 / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6381, allocations: 1.062 kB / 1.106 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.6386, allocations: 91.23 kB / 1.106 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.639, allocations: 267.8 kB / 1.107 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.6393, allocations: 68.22 kB / 1.107 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.6395, allocations: 47.77 kB / 1.107 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.6396, allocations: 0 / 1.107 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.6396, allocations: 39.92 kB / 1.107 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.6396, allocations: 0 / 1.107 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0008825/0.6405, allocations: 160.2 kB / 1.107 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.6406, allocations: 59.36 kB / 1.107 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.6406, allocations: 109.8 kB / 1.107 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.6407, allocations: 26.64 kB / 1.107 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.6407, allocations: 92.05 kB / 1.107 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.6407, allocations: 12.7 kB / 1.107 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.6408, allocations: 0 / 1.107 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.6408, allocations: 316.2 kB / 1.107 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.6411, allocations: 43.97 kB / 1.107 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.6413, allocations: 39.95 kB / 1.107 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.6416, allocations: 47.91 kB / 1.108 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6416, allocations: 0 / 1.108 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00055/0.6422, allocations: 121.6 kB / 1.108 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6422, allocations: 8 kB / 1.108 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6422, allocations: 0 / 1.108 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6422, allocations: 0 / 1.108 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.6424, allocations: 23.98 kB / 1.108 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6425, allocations: 3.953 kB / 1.108 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.6426, allocations: 19.89 kB / 1.108 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6426, allocations: 0 / 1.108 GB, free: 6.793 MB / 0.5105 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 (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 7.04e-05/0.6427, allocations: 115.8 kB / 1.108 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.6427, allocations: 11.98 kB / 1.108 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.6428, allocations: 3.906 kB / 1.108 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6428, allocations: 0 / 1.108 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6428, allocations: 4 kB / 1.108 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6428, allocations: 7.891 kB / 1.108 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.643, allocations: 165.7 kB / 1.108 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.643, allocations: 0 / 1.108 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.6432, allocations: 23.91 kB / 1.108 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6432, allocations: 8 kB / 1.108 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6432, allocations: 0 / 1.108 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6432, allocations: 0 / 1.108 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6432, allocations: 0 / 1.108 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.6438, allocations: 219.3 kB / 1.108 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.6438, allocations: 77.48 kB / 1.108 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.6439, allocations: 3.984 kB / 1.108 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.644, allocations: 19.98 kB / 1.108 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6441, allocations: 4 kB / 1.108 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.6441, allocations: 0 / 1.108 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.6442, allocations: 91.27 kB / 1.108 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6442, allocations: 0 / 1.108 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002931/0.6445, allocations: 4 kB / 1.108 GB, free: 5.949 MB / 0.5105 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 (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.000773/0.6453, allocations: 0.7669 MB / 1.109 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.6458, allocations: 87.92 kB / 1.109 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6458, allocations: 0 / 1.109 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.6461, allocations: 51.91 kB / 1.109 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6465, allocations: 8 kB / 1.109 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.647, allocations: 162.3 kB / 1.109 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.6471, allocations: 0.6848 MB / 1.11 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.496e-05/0.6472, allocations: 4 kB / 1.11 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.6473, allocations: 11.44 kB / 1.11 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of SimCode: time 6.22e-07/0.6473, allocations: 0 / 1.11 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.665, allocations: 1.294 MB / 1.111 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.6652, allocations: 201.8 kB / 1.112 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.972, allocations: 0 / 1.112 GB, free: 2.664 MB / 0.5105 GB