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.Atan2.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.Atan2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.478/1.478, allocations: 252 MB / 267 MB, free: 10.99 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.001069/0.001069, allocations: 184.8 kB / 326.6 MB, free: 2.238 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.815/1.815, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007409/0.0007408, allocations: 84.03 kB / 0.6823 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 11.41 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00135/0.2134, allocations: 1.137 MB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.2137, allocations: 140.5 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.2138, allocations: 0 / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.2138, allocations: 3.984 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.2139, allocations: 3.938 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.214, allocations: 11.98 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.2141, allocations: 35.86 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.2142, allocations: 11.98 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.888e-05/0.2143, allocations: 15.94 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.2143, allocations: 23.84 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2143, allocations: 4 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2144, allocations: 0 / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.2144, allocations: 3.984 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.2144, allocations: 37.64 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.783e-05/0.2145, allocations: 23.94 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2145, allocations: 0 / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2145, allocations: 4 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2145, allocations: 0 / 0.9017 GB, free: 62.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000436/0.2149, allocations: 367.5 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.215, allocations: 12.03 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.215, allocations: 38.56 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.2151, allocations: 0 / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.524e-05/0.2151, allocations: 174.9 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2152, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.2152, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2154, allocations: 81.64 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2154, allocations: 4 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2155, allocations: 4 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2155, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.2158, allocations: 91.86 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.216, allocations: 260.9 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2163, allocations: 70.53 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2164, allocations: 48.91 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2164, allocations: 0 / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.2165, allocations: 42.5 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.2165, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005152/0.217, allocations: 153.6 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.217, allocations: 51.41 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.2171, allocations: 117.8 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.2171, allocations: 29.7 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2171, allocations: 95.91 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.2172, allocations: 7.906 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.2172, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.2172, allocations: 314.8 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2174, allocations: 47.95 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2175, allocations: 39.91 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2177, allocations: 51.89 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2177, allocations: 0 / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003096/0.218, allocations: 117.9 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.218, allocations: 4 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.218, allocations: 0 / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.218, allocations: 8.031 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2182, allocations: 19.98 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2182, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.2183, allocations: 23.92 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2183, allocations: 4 kB / 0.9039 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 (3): * Single equations (assignments): 3 * 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 5.373e-05/0.2183, allocations: 109.8 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.2184, allocations: 7.906 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.2187, allocations: 133.5 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2187, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2187, allocations: 4 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2187, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2189, allocations: 173.6 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2189, allocations: 3.984 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.219, allocations: 15.98 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.219, allocations: 4 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.219, allocations: 0 / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.219, allocations: 4 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.219, allocations: 4 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2193, allocations: 227.3 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.2194, allocations: 77.11 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2194, allocations: 4 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2195, allocations: 11.98 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2195, allocations: 11.98 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2196, allocations: 0 / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.2196, allocations: 87.28 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2196, allocations: 0 / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002013/0.2198, allocations: 4 kB / 0.9048 GB, free: 58.94 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 (3): * Single equations (assignments): 3 * 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.0005313/0.2203, allocations: 0.7553 MB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.2207, allocations: 95.86 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2207, allocations: 3.938 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2208, allocations: 47.89 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2211, allocations: 16.42 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.2215, allocations: 170.1 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2216, allocations: 0.6809 MB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.2217, allocations: 0 / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.2217, allocations: 15.44 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2217, allocations: 4 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.233, allocations: 1.3 MB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.2332, allocations: 202.3 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.817, allocations: 4 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)