Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.456/1.456, allocations: 287.4 MB / 302.6 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 193.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007035/0.0007036, allocations: 91.41 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 13.75 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1842, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0007122/0.185, allocations: 383 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.1857, allocations: 0.801 MB / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1857, allocations: 0 / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1857, allocations: 0 / 0.9799 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.1858, allocations: 3.938 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.1859, allocations: 11.98 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.186, allocations: 15.94 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.1861, allocations: 11.98 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.1861, allocations: 7.984 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1862, allocations: 15.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1862, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.1862, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1862, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1862, allocations: 33.64 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.532e-05/0.1863, allocations: 15.97 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1863, allocations: 4 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1863, allocations: 0 / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1863, allocations: 4 kB / 0.98 GB, free: 26.74 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003277/0.1866, allocations: 335.7 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1867, allocations: 8.031 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.1867, allocations: 34.75 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.1867, allocations: 4.938 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.1868, allocations: 168.3 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1868, allocations: 384 / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1868, allocations: 4.375 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.187, allocations: 50.25 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.187, allocations: 11.92 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.187, allocations: 0 / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.187, allocations: 0 / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1872, allocations: 43.97 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.1874, allocations: 240.9 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1875, allocations: 54.47 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.1876, allocations: 28.91 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1876, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.1877, allocations: 30.56 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1877, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000315/0.188, allocations: 105.5 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.188, allocations: 51.41 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.1881, allocations: 102 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.1881, allocations: 29.7 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.1881, allocations: 84.14 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.1881, allocations: 7.906 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1881, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.1882, allocations: 314.8 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.1883, allocations: 23.97 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.1883, allocations: 23.98 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1885, allocations: 44.83 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1885, allocations: 8 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001592/0.1886, allocations: 77.59 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1887, allocations: 11.94 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1887, allocations: 0 / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1887, allocations: 0 / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.1888, allocations: 20.02 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1888, allocations: 0 / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1888, allocations: 11.98 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.1888, allocations: 0 / 0.9819 GB, free: 24.62 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.1889, allocations: 115.1 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1889, allocations: 4 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.1889, allocations: 7.312 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1889, allocations: 4 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1889, allocations: 3.984 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.189, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.1891, allocations: 161.6 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1891, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.1891, allocations: 8 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1891, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1891, allocations: 8 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1891, allocations: 0 / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1892, allocations: 7.984 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1893, allocations: 171.3 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.1894, allocations: 85.03 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1894, allocations: 8.031 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1894, allocations: 8 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.1895, allocations: 3.984 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1895, allocations: 4 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.1895, allocations: 75.28 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1895, allocations: 0 / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001741/0.1897, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 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 (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.0003446/0.19, allocations: 0.7101 MB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1902, allocations: 51.98 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1902, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1903, allocations: 28.05 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1906, allocations: 3.938 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.1909, allocations: 142.5 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.213e-05/0.191, allocations: 0.677 MB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.191, allocations: 7.844 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.191, allocations: 11.44 kB / 0.9841 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.191, allocations: 4.062 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009931/0.201, allocations: 0.9957 MB / 0.9851 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001209/0.2011, allocations: 193.1 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.764, allocations: 0 / 0.9853 GB, free: 21.04 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)