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.532/1.532, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001272/0.001272, allocations: 185.2 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.001002/0.001002, allocations: 102.4 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 14.11 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001758/0.215, allocations: 1.089 MB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.2153, allocations: 117.8 kB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.2154, allocations: 0 / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2154, allocations: 3.938 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.2155, allocations: 4 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.2157, allocations: 4 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.2158, allocations: 19.91 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2159, allocations: 4 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.2159, allocations: 7.984 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.216, allocations: 11.94 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.216, allocations: 4 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.2161, allocations: 0 / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2161, allocations: 7.984 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.2161, allocations: 25.7 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.73e-05/0.2162, allocations: 15.95 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2162, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2162, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2162, allocations: 0 / 0.9014 GB, free: 63.05 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.0004293/0.2167, allocations: 343.3 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2167, allocations: 8.031 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.2168, allocations: 30.56 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.2168, allocations: 4 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2169, allocations: 170.9 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.217, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.217, allocations: 8 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2172, allocations: 53.67 kB / 0.902 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2172, allocations: 0 / 0.902 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2173, allocations: 4 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2173, allocations: 0 / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.2175, allocations: 43.95 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.2179, allocations: 253.2 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2181, allocations: 46.48 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.2181, allocations: 0 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2181, allocations: 38.62 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2181, allocations: 0 / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004855/0.2186, allocations: 89.77 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2187, allocations: 55.41 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.2188, allocations: 105.8 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2188, allocations: 29.7 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.2188, allocations: 84.14 kB / 0.9028 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.2189, allocations: 7.891 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2189, allocations: 0 / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.2189, allocations: 314.8 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2191, allocations: 27.98 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2192, allocations: 15.98 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2193, allocations: 31.91 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2193, allocations: 4.062 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002622/0.2196, allocations: 69.67 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2196, allocations: 4 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2196, allocations: 8 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2196, allocations: 0 / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2198, allocations: 16.02 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2198, allocations: 3.938 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.2199, allocations: 7.984 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2199, allocations: 7.938 kB / 0.9032 GB, free: 60.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.22, allocations: 113.8 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.22, allocations: 3.906 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.2201, allocations: 7.125 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2201, allocations: 4 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2201, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2201, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2203, allocations: 161.6 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2203, allocations: 0 / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.2204, allocations: 11.98 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2204, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2204, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2204, allocations: 4 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2205, allocations: 4 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.2208, allocations: 171.5 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2208, allocations: 81.05 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2208, allocations: 4.031 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.221, allocations: 11.98 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.221, allocations: 0 / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.221, allocations: 4 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.2211, allocations: 79.28 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2211, allocations: 0 / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003732/0.2215, allocations: 4 kB / 0.9039 GB, free: 60.24 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 (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.000517/0.222, allocations: 0.7085 MB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.2223, allocations: 51.94 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2223, allocations: 0 / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2224, allocations: 24.05 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2227, allocations: 14.33 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.2232, allocations: 138.3 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2233, allocations: 0.6809 MB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.2234, allocations: 0 / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.2234, allocations: 11.44 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2234, allocations: 4.062 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.2372, allocations: 0.9997 MB / 0.9064 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.2374, allocations: 195.9 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.647, allocations: 0 / 0.9066 GB, free: 57.43 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)