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.392/1.392, allocations: 252 MB / 267.3 MB, free: 10.81 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.001095/0.001095, allocations: 174.8 kB / 327 MB, free: 2.082 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.827/1.827, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007902/0.0007902, allocations: 85.98 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 15.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 106.3 MB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001618/0.2227, allocations: 1.137 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.2231, allocations: 136.5 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2232, allocations: 4 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.2232, allocations: 7.938 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.2233, allocations: 7.922 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2234, allocations: 15.98 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.2235, allocations: 43.84 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2236, allocations: 8 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.2237, allocations: 11.92 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.2238, allocations: 19.92 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.2238, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.2238, allocations: 11.94 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2239, allocations: 7.984 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.2239, allocations: 41.58 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.774e-05/0.224, allocations: 39.84 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.224, allocations: 4 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.224, allocations: 0 / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.224, allocations: 0 / 0.9024 GB, free: 61.83 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.0004843/0.2245, allocations: 363.7 kB / 0.9027 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2246, allocations: 12.03 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2246, allocations: 30.75 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.2246, allocations: 0.9375 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.2247, allocations: 172.3 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.2248, allocations: 384 / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2248, allocations: 8.375 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.225, allocations: 78.22 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2251, allocations: 3.938 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2251, allocations: 4 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2251, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2254, allocations: 91.86 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.2257, allocations: 272.9 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2259, allocations: 66.53 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.226, allocations: 48.92 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2261, allocations: 0 / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2261, allocations: 38.5 kB / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.2261, allocations: 0 / 0.9035 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005229/0.2266, allocations: 165.5 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.2267, allocations: 59.34 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.185e-05/0.2267, allocations: 113.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2268, allocations: 25.7 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.2268, allocations: 88.08 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2268, allocations: 7.906 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2268, allocations: 4 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.2269, allocations: 322.8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.227, allocations: 35.97 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2272, allocations: 51.89 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.2274, allocations: 92.72 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2274, allocations: 0 / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/0.2277, allocations: 125.5 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2278, allocations: 8 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2278, allocations: 0 / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2278, allocations: 0 / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2279, allocations: 23.98 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.228, allocations: 0 / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.228, allocations: 23.97 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.2281, allocations: 0 / 0.9046 GB, free: 59.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.2281, allocations: 113.7 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.2282, allocations: 8 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.2285, allocations: 129.5 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2285, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2285, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2285, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2287, allocations: 173.6 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2287, allocations: 0 / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.2288, allocations: 23.97 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2288, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2288, allocations: 4 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2288, allocations: 0 / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2288, allocations: 0 / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.2291, allocations: 223.6 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2292, allocations: 85.14 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2292, allocations: 3.984 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2293, allocations: 19.98 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2293, allocations: 7.984 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2293, allocations: 4 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.2294, allocations: 79.28 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2294, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001984/0.2296, allocations: 12 kB / 0.9055 GB, free: 58.33 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 (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.000518/0.2301, allocations: 0.763 MB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.2304, allocations: 91.86 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2304, allocations: 0 / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2306, allocations: 47.95 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2309, allocations: 8 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.2313, allocations: 170.1 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2315, allocations: 0.6848 MB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.2315, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2316, allocations: 11.44 kB / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2316, allocations: 8 kB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.2421, allocations: 1.299 MB / 0.9085 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.2423, allocations: 213.3 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.075, allocations: 2.391 kB / 0.9087 GB, free: 55.06 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)