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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001273/0.001273, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001249/0.001249, allocations: 191 kB / 17.2 MB, free: 5.59 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.472/1.472, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.913/1.913, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.002782/0.002782, allocations: 82.81 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2318, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002388/0.2343, allocations: 0.6938 MB / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2355, allocations: 0.832 MB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.2356, allocations: 4 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.2357, allocations: 0 / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.2358, allocations: 7.875 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.236, allocations: 19.97 kB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2361, allocations: 43.92 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2363, allocations: 7.984 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2364, allocations: 27.86 kB / 0.7856 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.2364, allocations: 19.91 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2365, allocations: 4 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2365, allocations: 4 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.2365, allocations: 7.938 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.2366, allocations: 19.92 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2367, allocations: 43.86 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2367, allocations: 0 / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2367, allocations: 0 / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2367, allocations: 3.938 kB / 0.7857 GB, free: 2.098 MB / 0.6544 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.0006154/0.2373, allocations: 355.7 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2374, allocations: 8.031 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.2374, allocations: 8.844 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2376, allocations: 176.3 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2376, allocations: 4.375 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2376, allocations: 384 / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2379, allocations: 70.22 kB / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2379, allocations: 192 / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2379, allocations: 7.875 kB / 0.7863 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2379, allocations: 0 / 0.7863 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.2382, allocations: 71.86 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.2386, allocations: 264.9 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2388, allocations: 58.47 kB / 0.7867 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.239, allocations: 36.92 kB / 0.7868 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.239, allocations: 7.938 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.239, allocations: 38.56 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2391, allocations: 0 / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005462/0.2396, allocations: 133.6 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2396, allocations: 51.41 kB / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2397, allocations: 109.8 kB / 0.7871 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2398, allocations: 25.7 kB / 0.7871 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.2398, allocations: 88.05 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2399, allocations: 11.89 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.2399, allocations: 13.72 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.24, allocations: 318.8 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2402, allocations: 31.95 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4487/0.6889, allocations: 30.52 kB / 0.7876 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.6893, allocations: 67.12 kB / 0.7876 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6893, allocations: 6.438 kB / 0.7877 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003408/0.6897, allocations: 95.61 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.6897, allocations: 5.719 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6897, allocations: 0.7812 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6897, allocations: 5.281 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.6899, allocations: 15.17 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6899, allocations: 0 / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.69, allocations: 16.92 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.69, allocations: 0 / 0.7878 GB, free: 48.69 MB / 0.6544 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 6.508e-05/0.6901, allocations: 114.6 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.6901, allocations: 2.812 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.6904, allocations: 111.3 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6905, allocations: 0.5312 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6905, allocations: 1.875 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6905, allocations: 2.75 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.6906, allocations: 172.1 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6906, allocations: 6 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.6907, allocations: 14.58 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6907, allocations: 3.719 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.6908, allocations: 3.031 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6908, allocations: 3.094 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6908, allocations: 3.328 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.6911, allocations: 199 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.6911, allocations: 83.86 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6911, allocations: 3.141 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.6912, allocations: 9.562 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.6913, allocations: 7.344 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.6913, allocations: 3.547 kB / 0.7885 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.6913, allocations: 90.23 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6913, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002102/0.6916, allocations: 12.16 kB / 0.7886 GB, free: 48.04 MB / 0.6544 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.0001236/0.6917, allocations: 99.91 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.692, allocations: 73.81 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.692, allocations: 0 / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.6922, allocations: 35.09 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.6925, allocations: 7.594 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.6928, allocations: 146.7 kB / 0.7889 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.693, allocations: 0.6818 MB / 0.7896 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.693, allocations: 7.438 kB / 0.7896 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.693, allocations: 2.719 kB / 0.7896 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.002199/0.6952, allocations: 0.7478 MB / 0.7903 GB, free: 47.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)