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.000695/0.000695, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004206/0.004206, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.199/1.199, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.539/1.539, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004947/0.0004947, allocations: 19.44 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1701, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00071/0.1708, allocations: 442.6 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000757/0.1716, allocations: 0.832 MB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.1716, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1716, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.1717, allocations: 11.94 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.1718, allocations: 15.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.1719, allocations: 39.92 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1719, allocations: 7.984 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.172, allocations: 15.92 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.172, allocations: 15.92 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1721, allocations: 4 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.1721, allocations: 0 / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.1721, allocations: 11.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.1722, allocations: 45.52 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.019e-05/0.1722, allocations: 39.84 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1722, allocations: 0 / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1722, allocations: 0 / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1722, allocations: 4 kB / 0.7895 GB, free: 9.973 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.0004149/0.1727, allocations: 367.7 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1727, allocations: 12.03 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.1727, allocations: 34.73 kB / 0.7898 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.1728, allocations: 4.844 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.1729, allocations: 172.3 kB / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1729, allocations: 384 / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1729, allocations: 4.375 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1731, allocations: 82.22 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.1731, allocations: 3.938 kB / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.1732, allocations: 4 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1732, allocations: 7.969 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1735, allocations: 83.94 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.1737, allocations: 276.8 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1739, allocations: 66.53 kB / 0.7905 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1741, allocations: 48.92 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1741, allocations: 0 / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1742, allocations: 42.48 kB / 0.7906 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1742, allocations: 0 / 0.7906 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005188/0.1747, allocations: 161.5 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1747, allocations: 51.41 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.1748, allocations: 109.8 kB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1748, allocations: 29.7 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1749, allocations: 84.12 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1749, allocations: 15.81 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.1749, allocations: 9.719 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.175, allocations: 314.8 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1751, allocations: 43.95 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1753, allocations: 43.97 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1756, allocations: 92.72 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1756, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003187/0.1759, allocations: 121.6 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/0.1759, allocations: 4 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1759, allocations: 4 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.176, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1761, allocations: 31.97 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1761, allocations: 0 / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.1762, allocations: 15.98 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1762, allocations: 3.938 kB / 0.7917 GB, free: 7.438 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 5.606e-05/0.1763, allocations: 109.8 kB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1763, allocations: 7.906 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1767, allocations: 133.4 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1767, allocations: 8 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1767, allocations: 0 / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1767, allocations: 0 / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1768, allocations: 173.6 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1768, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.1769, allocations: 19.98 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1769, allocations: 0 / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1769, allocations: 0 / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.177, allocations: 4 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.177, allocations: 384 / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.1773, allocations: 223.4 kB / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.1774, allocations: 92.89 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.1774, allocations: 0 / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1775, allocations: 15.98 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1775, allocations: 7.984 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1775, allocations: 8 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.1776, allocations: 91.25 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1776, allocations: 0 / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002018/0.1778, allocations: 8 kB / 0.7926 GB, free: 6.449 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.0005664/0.1784, allocations: 0.7437 MB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1787, allocations: 95.86 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1787, allocations: 0 / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1789, allocations: 51.95 kB / 0.7934 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1791, allocations: 7.938 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.1795, allocations: 170.2 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.1796, allocations: 0.6809 MB / 0.7943 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.1797, allocations: 0 / 0.7943 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1797, allocations: 11.44 kB / 0.7943 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1797, allocations: 0 / 0.7943 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.359/1.539, allocations: 1.296 MB / 0.7955 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.539, allocations: 207.5 kB / 0.7957 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/3.06, allocations: 3.938 kB / 0.7957 GB, free: 3.172 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)