Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Atan2,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 188.1 kB / 16.64 MB, free: 6.594 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001549/0.001549, allocations: 73.41 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2222, allocations: 114.5 MB / 0.7837 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002001/0.2242, allocations: 0.7098 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.2251, allocations: 0.8282 MB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.2252, allocations: 4 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.2252, allocations: 7.938 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.2253, allocations: 3.938 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.2255, allocations: 19.92 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.2256, allocations: 39.91 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2257, allocations: 8 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.2257, allocations: 19.92 kB / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.2258, allocations: 23.91 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2258, allocations: 4 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.2258, allocations: 8 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.2259, allocations: 11.92 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.2259, allocations: 11.94 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.257e-05/0.226, allocations: 43.86 kB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.226, allocations: 3.938 kB / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.226, allocations: 0 / 0.7854 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.226, allocations: 0 / 0.7854 GB, free: 11.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005265/0.2266, allocations: 370.1 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2266, allocations: 12.03 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.2267, allocations: 34.75 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2267, allocations: 0.9375 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2268, allocations: 176.2 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.2268, allocations: 384 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2269, allocations: 4.375 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2271, allocations: 66.22 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2271, allocations: 3.938 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.2271, allocations: 4 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2271, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2274, allocations: 67.86 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.2278, allocations: 272.9 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.228, allocations: 58.53 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2282, allocations: 36.92 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2282, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2282, allocations: 34.5 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2282, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000535/0.2288, allocations: 133.5 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2288, allocations: 55.41 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.2289, allocations: 113.8 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2289, allocations: 25.7 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.229, allocations: 84.14 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.229, allocations: 15.84 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.229, allocations: 17.7 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2292, allocations: 314.8 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.2293, allocations: 27.97 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2295, allocations: 35.95 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.2297, allocations: 76.94 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2298, allocations: 4 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003319/0.2301, allocations: 101.5 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2301, allocations: 8 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2301, allocations: 4 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2301, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2303, allocations: 15.98 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2303, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.2304, allocations: 15.91 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2304, allocations: 4 kB / 0.7875 GB, free: 9.129 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 (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 7.703e-05/0.2305, allocations: 113.8 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.2305, allocations: 8 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.2309, allocations: 109.4 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2309, allocations: 4 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2309, allocations: 0 / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2309, allocations: 0 / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2311, allocations: 169.6 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2311, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.2312, allocations: 15.98 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2312, allocations: 4 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2312, allocations: 4 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2312, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2312, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2316, allocations: 203.2 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.2316, allocations: 77.11 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2316, allocations: 4 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2317, allocations: 11.98 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.2318, allocations: 7.984 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2318, allocations: 0 / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.2319, allocations: 87.28 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2319, allocations: 0 / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002114/0.2321, allocations: 8 kB / 0.7882 GB, free: 8.215 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 (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.0006625/0.2327, allocations: 0.7345 MB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.2331, allocations: 71.92 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2331, allocations: 0 / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2333, allocations: 39.89 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2336, allocations: 8 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.234, allocations: 151.1 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2342, allocations: 0.6845 MB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.2343, allocations: 4 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.2343, allocations: 15.44 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2343, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.2512, allocations: 1.617 MB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.875, allocations: 11.41 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)