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.299/1.299, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000902/0.0009019, allocations: 176.3 kB / 325.8 MB, free: 2.684 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.476/1.476, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007155/0.0007157, allocations: 89.3 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 12.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001322/0.1901, allocations: 1.11 MB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.1904, allocations: 120.5 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1904, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.1905, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.1905, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.1906, allocations: 7.922 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.1907, allocations: 27.98 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1908, allocations: 0.8125 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.1908, allocations: 15.92 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.1909, allocations: 7.984 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1909, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.1909, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1909, allocations: 11.94 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.191, allocations: 3.938 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.475e-05/0.191, allocations: 24.17 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.191, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.191, allocations: 4 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.1911, allocations: 0 / 0.8975 GB, free: 66.71 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.0003101/0.1914, allocations: 335.5 kB / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1914, allocations: 12.03 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.1914, allocations: 30.75 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.1915, allocations: 4.938 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.148e-05/0.1915, allocations: 172.3 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1915, allocations: 4.375 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1916, allocations: 384 / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1917, allocations: 54.23 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1917, allocations: 3.938 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.1917, allocations: 0 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1917, allocations: 0 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1919, allocations: 55.89 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1921, allocations: 245 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1923, allocations: 50.48 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.1923, allocations: 24.91 kB / 0.8985 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1924, allocations: 0 / 0.8985 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1924, allocations: 34.56 kB / 0.8985 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.1924, allocations: 0 / 0.8985 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002916/0.1927, allocations: 97.58 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.1927, allocations: 55.41 kB / 0.8986 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.1928, allocations: 102 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.1928, allocations: 29.64 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.1928, allocations: 92.06 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1928, allocations: 7.844 kB / 0.8989 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.1928, allocations: 13.72 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.1929, allocations: 310.8 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.193, allocations: 19.98 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.193, allocations: 27.97 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1932, allocations: 52.83 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1932, allocations: 3.938 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001553/0.1933, allocations: 77.66 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1934, allocations: 8 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1934, allocations: 0 / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1934, allocations: 4.031 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.1935, allocations: 11.98 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1935, allocations: 0 / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.1935, allocations: 8 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1935, allocations: 0 / 0.8994 GB, free: 64.57 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.199e-05/0.1936, allocations: 109.8 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1936, allocations: 7.891 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.1936, allocations: 15.12 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1936, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1937, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1937, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.1938, allocations: 161.5 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1938, allocations: 0 / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.1938, allocations: 11.98 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1938, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1939, allocations: 4 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1939, allocations: 0 / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1939, allocations: 11.98 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.194, allocations: 167.6 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.1941, allocations: 85.12 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1941, allocations: 8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1942, allocations: 7.984 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1942, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1942, allocations: 4 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.1942, allocations: 83.2 kB / 0.9 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1942, allocations: 4 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001891/0.1944, allocations: 0 / 0.9 GB, free: 63.8 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.0003615/0.1948, allocations: 0.7201 MB / 0.9007 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.195, allocations: 47.95 kB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.195, allocations: 3.938 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1951, allocations: 31.98 kB / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1953, allocations: 4 kB / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.1957, allocations: 133 kB / 0.9009 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.1958, allocations: 0.677 MB / 0.9016 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.1958, allocations: 0 / 0.9016 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1958, allocations: 11.44 kB / 0.9016 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1958, allocations: 4.062 kB / 0.9016 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009527/0.2053, allocations: 1.012 MB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.2056, allocations: 232.7 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.725, allocations: 0 / 0.9028 GB, free: 60.95 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)