Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007409/0.0007411, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00453/0.00453, allocations: 169.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004795, allocations: 17.59 kB / 0.6744 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0008046/0.2036, allocations: 398.7 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.2045, allocations: 0.7971 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.2045, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.2046, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.2046, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.2047, allocations: 3.984 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.066e-05/0.2048, allocations: 31.86 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.003e-05/0.2049, allocations: 4 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.2049, allocations: 11.98 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.205, allocations: 11.92 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.205, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/0.205, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.205, allocations: 4 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.2051, allocations: 33.64 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.441e-05/0.2052, allocations: 19.95 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2052, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2052, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2052, allocations: 0 / 0.7893 GB, free: 10.1 MB / 0.6075 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.0004562/0.2056, allocations: 347.7 kB / 0.7896 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.2057, allocations: 12.03 kB / 0.7896 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.2058, allocations: 38.62 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.2058, allocations: 4.938 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2059, allocations: 160.4 kB / 0.7898 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2059, allocations: 4.375 kB / 0.7898 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2059, allocations: 384 / 0.7898 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2061, allocations: 58.23 kB / 0.7899 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.2061, allocations: 3.938 kB / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2061, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2061, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2063, allocations: 47.95 kB / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.2066, allocations: 248.9 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2068, allocations: 50.48 kB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.2069, allocations: 28.84 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2069, allocations: 4 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.207, allocations: 34.56 kB / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.207, allocations: 0 / 0.7903 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.2073, allocations: 101.5 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2074, allocations: 51.41 kB / 0.7904 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.2075, allocations: 109.8 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2075, allocations: 29.83 kB / 0.7906 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.2075, allocations: 84.14 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.2076, allocations: 3.906 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.2076, allocations: 9.719 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2077, allocations: 314.8 kB / 0.791 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.2078, allocations: 19.98 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.2079, allocations: 27.97 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2081, allocations: 44.83 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2081, allocations: 3.938 kB / 0.7911 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.2083, allocations: 85.66 kB / 0.7911 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2084, allocations: 4 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2084, allocations: 0 / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2084, allocations: 4 kB / 0.7911 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2085, allocations: 16.02 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2085, allocations: 0 / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.2086, allocations: 8 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.2086, allocations: 4 kB / 0.7912 GB, free: 7.941 MB / 0.6075 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 8.086e-05/0.2087, allocations: 117.7 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2087, allocations: 0 / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2087, allocations: 7.125 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2087, allocations: 8 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2087, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2087, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.2089, allocations: 157.6 kB / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2089, allocations: 0 / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.209, allocations: 11.98 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.209, allocations: 0 / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.209, allocations: 0 / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.209, allocations: 4 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.209, allocations: 3.938 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2093, allocations: 175.4 kB / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.2093, allocations: 81.05 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2094, allocations: 7.984 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.2094, allocations: 12.03 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2095, allocations: 0 / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2095, allocations: 7.922 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.2095, allocations: 79.28 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2096, allocations: 0 / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002072/0.2098, allocations: 4 kB / 0.7918 GB, free: 7.18 MB / 0.6075 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.0005993/0.2104, allocations: 0.7085 MB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.2106, allocations: 51.98 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2106, allocations: 0 / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.2107, allocations: 23.98 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.211, allocations: 8.125 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.2114, allocations: 145.5 kB / 0.7927 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2117, allocations: 0.677 MB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.2117, allocations: 3.906 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.2118, allocations: 11.44 kB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.2118, allocations: 0 / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009852/0.2216, allocations: 1.024 MB / 0.7944 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.2218, allocations: 204.7 kB / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.781, allocations: 4 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)