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.001663/0.001663, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001894/0.001894, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.625/1.625, allocations: 205.1 MB / 222 MB, free: 4.777 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.736/1.736, allocations: 251.6 MB / 0.5088 GB, free: 3.309 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.001814/0.001815, allocations: 68.42 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7351, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.003638/0.7387, allocations: 1.472 MB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004254/0.7392, allocations: 148.4 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.7393, allocations: 4 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.7394, allocations: 3.938 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.7395, allocations: 7.875 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.7397, allocations: 15.98 kB / 0.7254 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.433e-05/0.7398, allocations: 39.92 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.7399, allocations: 7.984 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.74, allocations: 15.94 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.7401, allocations: 23.89 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.7401, allocations: 4 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.7401, allocations: 0 / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.7402, allocations: 4 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.7402, allocations: 19.86 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.7403, allocations: 35.88 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7403, allocations: 4 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7403, allocations: 0 / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7404, allocations: 0 / 0.7256 GB, free: 11.3 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.0005917/0.741, allocations: 361.3 kB / 0.7259 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.741, allocations: 15.95 kB / 0.7259 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.7411, allocations: 4.938 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.7413, allocations: 172.3 kB / 0.7261 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.7413, allocations: 4.312 kB / 0.7261 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.7413, allocations: 4.375 kB / 0.7261 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.7417, allocations: 70.22 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7417, allocations: 192 / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7417, allocations: 3.938 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.7417, allocations: 4 kB / 0.7262 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.742, allocations: 67.92 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.7425, allocations: 272.9 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.7427, allocations: 58.47 kB / 0.7266 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.7429, allocations: 40.92 kB / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.7429, allocations: 0 / 0.7266 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.743, allocations: 34.56 kB / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.743, allocations: 0 / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005921/0.7436, allocations: 137.4 kB / 0.7268 GB, free: 9.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.7436, allocations: 51.41 kB / 0.7268 GB, free: 9.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.7437, allocations: 109.8 kB / 0.7269 GB, free: 9.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.7438, allocations: 29.64 kB / 0.727 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.7438, allocations: 88.08 kB / 0.7271 GB, free: 9.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.7439, allocations: 11.89 kB / 0.7271 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.7439, allocations: 13.72 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7441, allocations: 314.8 kB / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7442, allocations: 35.95 kB / 0.7274 GB, free: 9.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.7444, allocations: 31.97 kB / 0.7274 GB, free: 9.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.7447, allocations: 64.78 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7447, allocations: 7.938 kB / 0.7275 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003151/0.745, allocations: 101.5 kB / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.745, allocations: 8 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7451, allocations: 0 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.7451, allocations: 0 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7452, allocations: 15.97 kB / 0.7276 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7453, allocations: 8 kB / 0.7276 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.7453, allocations: 11.98 kB / 0.7276 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.7454, allocations: 4 kB / 0.7277 GB, free: 8.961 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.7455, allocations: 109.8 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.7455, allocations: 4 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.7459, allocations: 113.4 kB / 0.7279 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.746, allocations: 0 / 0.7279 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.746, allocations: 4 kB / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.746, allocations: 0 / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.7462, allocations: 173.6 kB / 0.728 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7462, allocations: 0 / 0.728 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.7463, allocations: 11.98 kB / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7463, allocations: 3.938 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.7463, allocations: 4 kB / 0.7281 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7463, allocations: 0 / 0.7281 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7463, allocations: 4 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.7467, allocations: 199.7 kB / 0.7283 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.7468, allocations: 85.05 kB / 0.7283 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.7468, allocations: 4 kB / 0.7283 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.747, allocations: 15.98 kB / 0.7284 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.747, allocations: 7.984 kB / 0.7284 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.747, allocations: 0 / 0.7284 GB, free: 8.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.7471, allocations: 99.5 kB / 0.7285 GB, free: 8.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7471, allocations: 0 / 0.7285 GB, free: 8.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.7473, allocations: 4 kB / 0.7285 GB, free: 8.027 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 (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.0001823/0.7475, allocations: 99.25 kB / 0.7286 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.7479, allocations: 71.92 kB / 0.7286 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7479, allocations: 0 / 0.7286 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.748, allocations: 39.91 kB / 0.7287 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.7485, allocations: 11.92 kB / 0.7287 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.7489, allocations: 135.1 kB / 0.7288 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.7491, allocations: 0.6809 MB / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.7492, allocations: 0 / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.7492, allocations: 11.44 kB / 0.7295 GB, free: 6.926 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7492, allocations: 0 / 0.7295 GB, free: 6.926 MB / 0.545 GB Notification: Performance of Templates: time 0.00301/0.7522, allocations: 0.5529 MB / 0.73 GB, free: 6.383 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (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)