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.001243/0.001243, 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.001645/0.001645, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.754/1.754, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001677/0.001677, allocations: 75.86 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2313, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002649/0.234, allocations: 0.7137 MB / 0.7844 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.235, allocations: 0.8321 MB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.235, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.2351, allocations: 3.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.2352, allocations: 3.938 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.2353, allocations: 19.92 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.2354, allocations: 43.91 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2355, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.2356, allocations: 23.92 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.2357, allocations: 19.91 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2357, allocations: 4 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.2357, allocations: 4 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2358, allocations: 11.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2358, allocations: 15.94 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.88e-05/0.2359, allocations: 47.86 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2359, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2359, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.2359, allocations: 0 / 0.7854 GB, free: 11.48 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.0005807/0.2365, allocations: 367.5 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2366, allocations: 12.03 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.2366, allocations: 34.75 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2366, allocations: 4.938 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2368, allocations: 176.2 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.2368, allocations: 384 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2368, allocations: 4.375 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.2371, allocations: 66.22 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2371, allocations: 3.938 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.2371, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2371, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.2374, allocations: 67.86 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.2377, allocations: 272.9 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.2379, allocations: 54.53 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.2381, allocations: 44.86 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2381, allocations: 0 / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2381, allocations: 30.56 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2381, allocations: 4 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005077/0.2387, allocations: 137.4 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.2387, allocations: 51.41 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.2388, allocations: 109.8 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2388, allocations: 25.7 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.2389, allocations: 88.14 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2389, allocations: 3.906 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2389, allocations: 21.7 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.239, allocations: 314.8 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2392, allocations: 31.97 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2393, allocations: 31.95 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.2396, allocations: 84.92 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2396, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.2399, allocations: 97.53 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2399, allocations: 4 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2399, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2399, allocations: 4 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2401, allocations: 23.98 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2401, allocations: 0 / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.2402, allocations: 19.91 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2402, allocations: 0 / 0.7875 GB, free: 9.094 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 0.0001291/0.2403, allocations: 113.8 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2404, allocations: 0 / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.2407, allocations: 117.4 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2407, allocations: 0 / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2407, allocations: 0 / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2407, allocations: 0 / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2409, allocations: 173.6 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2409, allocations: 0 / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.241, allocations: 15.98 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.241, allocations: 0 / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.241, allocations: 0 / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.241, allocations: 4 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2411, allocations: 0 / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.2414, allocations: 203.2 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.2414, allocations: 81.11 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2415, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2416, allocations: 15.98 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.2416, allocations: 7.984 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2416, allocations: 3.938 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.2417, allocations: 83.28 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2417, allocations: 0 / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002234/0.2419, allocations: 12 kB / 0.7882 GB, free: 8.176 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.0006448/0.2426, allocations: 0.7357 MB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.2429, allocations: 67.92 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2429, allocations: 4 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2431, allocations: 35.95 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2434, allocations: 4 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.2439, allocations: 151.5 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2441, allocations: 0.6846 MB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.2442, allocations: 0 / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.2442, allocations: 15.38 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2442, allocations: 4 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.2615, allocations: 1.624 MB / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.801, allocations: 14.69 kB / 0.7915 GB, free: 4.844 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --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)