Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001034, allocations: 181.2 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.578 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000734/0.0007339, allocations: 99.67 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 12 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1849, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001251/0.1862, allocations: 1.094 MB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.1865, allocations: 116.5 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1865, allocations: 0 / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.1865, allocations: 0 / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.1866, allocations: 3.938 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.1867, allocations: 11.97 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.1868, allocations: 16 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.1869, allocations: 11.98 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.187, allocations: 15.88 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.187, allocations: 3.984 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.187, allocations: 4 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.187, allocations: 0 / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.1871, allocations: 3.938 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1871, allocations: 37.64 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.333e-05/0.1872, allocations: 27.88 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1872, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1872, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1872, allocations: 4 kB / 0.9023 GB, free: 62.03 MB / 0.6042 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.0003615/0.1876, allocations: 333.8 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1876, allocations: 8.031 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.1876, allocations: 30.75 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.1877, allocations: 4.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.1878, allocations: 168.6 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1878, allocations: 384 / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.1878, allocations: 8.375 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.188, allocations: 54.23 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.188, allocations: 7.875 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.188, allocations: 3.984 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.188, allocations: 0 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1882, allocations: 47.95 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.1884, allocations: 248.9 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1886, allocations: 50.44 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.1887, allocations: 28.89 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1887, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1887, allocations: 42.5 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1887, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000323/0.189, allocations: 97.64 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.1891, allocations: 51.41 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.1891, allocations: 97.86 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1892, allocations: 29.83 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.1892, allocations: 88.12 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1892, allocations: 7.906 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1892, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.1893, allocations: 310.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1894, allocations: 23.98 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.1894, allocations: 23.92 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1896, allocations: 48.81 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1896, allocations: 12 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001669/0.1898, allocations: 73.66 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1898, allocations: 4 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1898, allocations: 0 / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1898, allocations: 0 / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1899, allocations: 12.03 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1899, allocations: 3.984 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.19, allocations: 12 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.19, allocations: 3.938 kB / 0.9041 GB, free: 59.91 MB / 0.6042 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 4.854e-05/0.19, allocations: 117.7 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1901, allocations: 3.906 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.1901, allocations: 7.109 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1901, allocations: 4 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1901, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1901, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1902, allocations: 161.6 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1902, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.1903, allocations: 15.98 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1903, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1903, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1903, allocations: 3.938 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1903, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1905, allocations: 171.5 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1906, allocations: 77.11 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1906, allocations: 4.031 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1906, allocations: 7.984 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1907, allocations: 8 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1907, allocations: 3.938 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.095e-05/0.1907, allocations: 83.27 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1907, allocations: 0 / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001968/0.1909, allocations: 4 kB / 0.9048 GB, free: 59.15 MB / 0.6042 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.0003871/0.1913, allocations: 0.7084 MB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1915, allocations: 48 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1915, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.1916, allocations: 35.97 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1919, allocations: 0 / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1922, allocations: 134.4 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.1923, allocations: 0.6731 MB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.1924, allocations: 8.312 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1924, allocations: 15.38 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1924, allocations: 4.062 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009657/0.2021, allocations: 1.025 MB / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.2022, allocations: 213.9 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.955, allocations: 4 kB / 0.9075 GB, free: 56.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)