Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.3 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 177.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 105.2 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 13.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0007352/0.2137, allocations: 417.4 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000713/0.2145, allocations: 0.8182 MB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.2145, allocations: 4 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.2145, allocations: 0 / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.2146, allocations: 7.984 kB / 0.9807 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2147, allocations: 15.92 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.2148, allocations: 23.97 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.2149, allocations: 15.97 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.215, allocations: 7.938 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.215, allocations: 19.91 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.215, allocations: 4 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.2151, allocations: 0 / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2151, allocations: 8 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.2151, allocations: 29.7 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.383e-05/0.2152, allocations: 27.94 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2152, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2152, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2152, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 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.0004156/0.2156, allocations: 367.5 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2156, allocations: 12.03 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2157, allocations: 3.906 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.2158, allocations: 178.9 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2158, allocations: 0 / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.2158, allocations: 4 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.216, allocations: 81.64 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2161, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2161, allocations: 4 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2161, allocations: 0 / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.2164, allocations: 79.94 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.2166, allocations: 276.8 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2168, allocations: 70.53 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.2169, allocations: 3.984 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.2169, allocations: 30.56 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2169, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005422/0.2174, allocations: 169.5 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.2175, allocations: 51.41 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.2175, allocations: 105.8 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.2175, allocations: 25.7 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.2176, allocations: 96.08 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2176, allocations: 7.906 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2176, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.2176, allocations: 322.8 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2178, allocations: 35.97 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2179, allocations: 47.95 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2181, allocations: 43.97 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2181, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003013/0.2184, allocations: 125.5 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2184, allocations: 6.031 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2184, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2184, allocations: 3.984 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2186, allocations: 19.98 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2186, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.2187, allocations: 19.98 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2187, allocations: 0 / 0.9829 GB, free: 23.91 MB / 0.6198 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 4.688e-05/0.2187, allocations: 117.8 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2188, allocations: 0 / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.2191, allocations: 129.5 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2191, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2191, allocations: 3.984 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2191, allocations: 4 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2192, allocations: 181.4 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2193, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.2194, allocations: 23.98 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2194, allocations: 0 / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2194, allocations: 4 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2194, allocations: 3.938 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2194, allocations: 3.984 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2197, allocations: 223.4 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.2197, allocations: 77.11 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2198, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2199, allocations: 15.98 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.2199, allocations: 7.984 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2199, allocations: 432 / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.2199, allocations: 91.58 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2199, allocations: 4 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002048/0.2202, allocations: 7.906 kB / 0.9838 GB, free: 22.93 MB / 0.6198 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 9.081e-05/0.2203, allocations: 103.2 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.2206, allocations: 87.92 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2206, allocations: 0 / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2207, allocations: 52.05 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.2209, allocations: 15.89 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.2212, allocations: 124.8 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2213, allocations: 0.6926 MB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2213, allocations: 0 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.2214, allocations: 11.44 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2214, allocations: 0 / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002013/0.2234, allocations: 0.5146 MB / 0.9853 GB, free: 21.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)