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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009273/0.0009274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 252 MB / 0.5102 GB, free: 4.773 MB / 414.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.0006286/0.0006291, allocations: 23.44 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7285, allocations: 106.3 MB / 0.7282 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001772/0.7303, allocations: 1.126 MB / 0.7293 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.7307, allocations: 140.4 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.7308, allocations: 0 / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.7308, allocations: 3.984 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.7309, allocations: 7.938 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7311, allocations: 15.98 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.7312, allocations: 39.86 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.7313, allocations: 11.98 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.7314, allocations: 15.92 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.7315, allocations: 19.92 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.7315, allocations: 0 / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.7315, allocations: 4 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.7316, allocations: 3.984 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.7316, allocations: 33.64 kB / 0.7295 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.642e-05/0.7317, allocations: 23.94 kB / 0.7296 GB, free: 9.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7317, allocations: 0 / 0.7296 GB, free: 9.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7317, allocations: 4 kB / 0.7296 GB, free: 9.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.7317, allocations: 3.938 kB / 0.7296 GB, free: 9.926 MB / 0.545 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.0006557/0.7324, allocations: 369.1 kB / 0.7299 GB, free: 9.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.7324, allocations: 12.02 kB / 0.7299 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.7325, allocations: 8 kB / 0.7299 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.7327, allocations: 163 kB / 0.7301 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.7327, allocations: 8 kB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.7327, allocations: 0 / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.733, allocations: 81.66 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.733, allocations: 4 kB / 0.7302 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7331, allocations: 3.984 kB / 0.7302 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.7331, allocations: 0 / 0.7302 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.7334, allocations: 91.86 kB / 0.7303 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.7339, allocations: 268.8 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.7341, allocations: 74.47 kB / 0.7306 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.7342, allocations: 44.92 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.7343, allocations: 4 kB / 0.7306 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.7343, allocations: 34.56 kB / 0.7307 GB, free: 8.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 3.276e-06/0.7343, allocations: 0 / 0.7307 GB, free: 8.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005756/0.7349, allocations: 165.5 kB / 0.7308 GB, free: 8.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.735, allocations: 51.41 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.7351, allocations: 117.8 kB / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.7351, allocations: 25.7 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.7352, allocations: 91.98 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.7352, allocations: 11.89 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.7352, allocations: 0 / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7354, allocations: 314.8 kB / 0.7314 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.7355, allocations: 43.97 kB / 0.7315 GB, free: 7.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7357, allocations: 39.95 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.7358, allocations: 39.97 kB / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7358, allocations: 0 / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002834/0.7361, allocations: 129.5 kB / 0.7317 GB, free: 7.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7361, allocations: 8 kB / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7361, allocations: 0 / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7362, allocations: 0 / 0.7317 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7363, allocations: 23.98 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.7363, allocations: 0 / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.7364, allocations: 15.98 kB / 0.7317 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7364, allocations: 3.953 kB / 0.7317 GB, free: 7.508 MB / 0.545 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 7.356e-05/0.7365, allocations: 109.8 kB / 0.7318 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.7365, allocations: 15.91 kB / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.7369, allocations: 125.5 kB / 0.732 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7369, allocations: 4 kB / 0.732 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7369, allocations: 3.938 kB / 0.732 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7369, allocations: 0 / 0.732 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7371, allocations: 169.6 kB / 0.7321 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7371, allocations: 0 / 0.7321 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.7372, allocations: 23.97 kB / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7372, allocations: 0 / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7372, allocations: 4 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7372, allocations: 3.938 kB / 0.7322 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7372, allocations: 0 / 0.7322 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.7376, allocations: 223.7 kB / 0.7324 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.7376, allocations: 85.02 kB / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7376, allocations: 3.984 kB / 0.7325 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.7377, allocations: 19.98 kB / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.7378, allocations: 4 kB / 0.7325 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.7378, allocations: 0 / 0.7325 GB, free: 6.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.7379, allocations: 87.27 kB / 0.7326 GB, free: 6.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7379, allocations: 0 / 0.7326 GB, free: 6.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00021/0.7381, allocations: 12 kB / 0.7326 GB, free: 6.523 MB / 0.545 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.0001585/0.7382, allocations: 95.25 kB / 0.7327 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.7386, allocations: 91.92 kB / 0.7327 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7386, allocations: 4 kB / 0.7328 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.7387, allocations: 47.89 kB / 0.7328 GB, free: 6.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.739, allocations: 7.953 kB / 0.7328 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.7394, allocations: 136.8 kB / 0.7329 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.7396, allocations: 0.6809 MB / 0.7336 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.7397, allocations: 4 kB / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.7397, allocations: 7.438 kB / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.7397, allocations: 0 / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of Templates: time 0.002662/0.7424, allocations: 0.5277 MB / 0.7341 GB, free: 4.879 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) Environment - environmentSimulation: