Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.959/1.959, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 187.4 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008514/0.0008516, allocations: 93.45 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7862, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001112/0.7874, allocations: 408.8 kB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.7884, allocations: 0.7846 MB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.7884, allocations: 1.25 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.7885, allocations: 3.938 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.7885, allocations: 3.391 kB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.7887, allocations: 6.344 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.7888, allocations: 32.17 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.7889, allocations: 3.484 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.7889, allocations: 8.078 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.789, allocations: 14.44 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.789, allocations: 0.7812 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.7891, allocations: 1.312 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.7891, allocations: 2.156 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.7891, allocations: 38.3 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.7892, allocations: 17.39 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7892, allocations: 0 / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7892, allocations: 0 / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7893, allocations: 5.906 kB / 1.042 GB, free: 57.68 MB / 0.698 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.0004093/0.7897, allocations: 339.9 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.7897, allocations: 10.62 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.7898, allocations: 2.5 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.7899, allocations: 169.2 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7899, allocations: 1.594 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.7899, allocations: 2.719 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.7901, allocations: 56.61 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.7901, allocations: 192 / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7901, allocations: 5.312 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.7902, allocations: 0 / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.7904, allocations: 43.98 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.7907, allocations: 251.9 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.7909, allocations: 51.06 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.791, allocations: 29.97 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.791, allocations: 4.5 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.791, allocations: 31.56 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.791, allocations: 1.375 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.7914, allocations: 99.25 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.7915, allocations: 57.16 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.7916, allocations: 103.7 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.7916, allocations: 25.7 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.7917, allocations: 81.61 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.7917, allocations: 11.75 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7917, allocations: 0 / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.7918, allocations: 315.3 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.7919, allocations: 24.28 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.792, allocations: 25.91 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.7921, allocations: 50.44 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7921, allocations: 0 / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.7924, allocations: 83.53 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7924, allocations: 6.531 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7924, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7924, allocations: 0.9688 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.7925, allocations: 17.94 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7925, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.7926, allocations: 14 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7926, allocations: 0 / 1.044 GB, free: 56 MB / 0.698 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.7927, allocations: 116.5 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.7927, allocations: 1.5 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.7927, allocations: 6.406 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7927, allocations: 4 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7928, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7928, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.7929, allocations: 161.6 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7929, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.793, allocations: 10.77 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.793, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.793, allocations: 0 / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.793, allocations: 1.156 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.793, allocations: 0.8906 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.7933, allocations: 185 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.7933, allocations: 78.23 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.7933, allocations: 3.406 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.7934, allocations: 12.42 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.7934, allocations: 0.5625 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.7935, allocations: 3.312 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.7935, allocations: 85.88 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7935, allocations: 0 / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002014/0.7937, allocations: 1.062 kB / 1.045 GB, free: 55.35 MB / 0.698 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001652/0.7939, allocations: 114.7 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.7941, allocations: 43.09 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7941, allocations: 0 / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.7942, allocations: 36.33 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.7945, allocations: 5.875 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.7947, allocations: 111 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.7949, allocations: 0.6816 MB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.7949, allocations: 1.125 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.795, allocations: 12.91 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.795, allocations: 0 / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of Templates: time 0.002262/0.7972, allocations: 366 kB / 1.046 GB, free: 54.36 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)