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.Sqrt.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.Sqrt,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.173/4.173, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.417e-05, allocations: 9.344 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2292, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.4764, allocations: 123.5 MB / 0.7495 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4767, allocations: 71.94 kB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002263/0.479, allocations: 0.6294 MB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.479, allocations: 0 / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.479, allocations: 4 kB / 0.7502 GB, free: 12.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004454/0.4795, allocations: 330.5 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4796, allocations: 12.03 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.4796, allocations: 3.953 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4798, allocations: 167 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4798, allocations: 4 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.4798, allocations: 0 / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.839e-05/0.4799, allocations: 12 kB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.48, allocations: 33.69 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.48, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4801, allocations: 4 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4801, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.4804, allocations: 229.4 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.82e-05/0.4805, allocations: 30.52 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.4805, allocations: 12.95 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4806, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4806, allocations: 34.56 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.4806, allocations: 0 / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.4808, allocations: 45.59 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4809, allocations: 51.41 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.4809, allocations: 97.03 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.481, allocations: 29.7 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.481, allocations: 84.12 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.4811, allocations: 3.906 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.4811, allocations: 3.938 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4812, allocations: 318.8 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.4812, allocations: 4 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.4813, allocations: 11.94 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.4813, allocations: 4 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4813, allocations: 4.062 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.382e-05/0.4814, allocations: 41.69 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4815, allocations: 4 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4815, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4815, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4817, allocations: 19.92 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4817, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.4818, allocations: 8.031 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4818, allocations: 0 / 0.7517 GB, free: 10.98 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 (2): * Single equations (assignments): 2 * 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.254e-05/0.4819, allocations: 108.9 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001056/0.482, allocations: 45.62 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.482, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.4821, allocations: 7.75 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4821, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4821, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4821, allocations: 3.953 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4823, allocations: 146.2 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4823, allocations: 0 / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4824, allocations: 8 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4824, allocations: 0 / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4825, allocations: 0 / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4825, allocations: 4 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4825, allocations: 3.984 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4826, allocations: 139.5 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.4827, allocations: 77.11 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.4827, allocations: 4 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4829, allocations: 7.984 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4829, allocations: 4 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4829, allocations: 4 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.483, allocations: 79.27 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/0.483, allocations: 0 / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002995/0.4833, allocations: 12.03 kB / 0.7524 GB, free: 10.26 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 (2): * Single equations (assignments): 2 * 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.0005374/0.4839, allocations: 0.6734 MB / 0.753 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.484, allocations: 15.94 kB / 0.753 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.484, allocations: 7.938 kB / 0.753 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.4841, allocations: 8.094 kB / 0.753 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4843, allocations: 0.6875 kB / 0.753 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.4847, allocations: 89.59 kB / 0.7531 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.485, allocations: 0.6768 MB / 0.7538 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.4851, allocations: 0 / 0.7538 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4851, allocations: 11.44 kB / 0.7538 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.4851, allocations: 0 / 0.7538 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.5155, allocations: 0.7132 MB / 0.7545 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.5158, allocations: 149.8 kB / 0.7546 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.817, allocations: 0 / 0.7546 GB, free: 7.789 MB / 0.6355 GB