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.001638/0.001638, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001419/0.00142, allocations: 191 kB / 16.13 MB, free: 6.664 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.742 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.759/1.759, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001335/0.001336, allocations: 70.88 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2426, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002354/0.245, allocations: 0.7544 MB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2461, allocations: 0.8399 MB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.2461, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.877e-05/0.2462, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.2462, allocations: 7.922 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.2464, allocations: 8 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.2465, allocations: 47.89 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2466, allocations: 8 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.2467, allocations: 23.86 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.2468, allocations: 19.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2468, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2468, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2468, allocations: 11.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.2469, allocations: 15.88 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.691e-05/0.247, allocations: 43.78 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.247, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.247, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.247, allocations: 4 kB / 0.7844 GB, free: 12.19 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.0005824/0.2476, allocations: 355.7 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2476, allocations: 12.03 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2477, allocations: 4.844 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.2478, allocations: 172.2 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2478, allocations: 8.375 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2479, allocations: 4.375 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2481, allocations: 70.2 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2481, allocations: 12.11 kB / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2481, allocations: 3.938 kB / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2482, allocations: 0 / 0.785 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.2484, allocations: 63.92 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2488, allocations: 261 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.249, allocations: 58.48 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2492, allocations: 40.91 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2492, allocations: 7.875 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2493, allocations: 34.56 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2493, allocations: 4 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005326/0.2498, allocations: 125.6 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2498, allocations: 55.41 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.2499, allocations: 105.8 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.25, allocations: 29.7 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.25, allocations: 92.05 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.25, allocations: 3.906 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.2501, allocations: 17.72 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2502, allocations: 314.8 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2503, allocations: 31.91 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.2505, allocations: 39.95 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2507, allocations: 60.8 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2508, allocations: 7.938 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.2511, allocations: 101.6 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2511, allocations: 4.938 kB / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2511, allocations: 0 / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2511, allocations: 0 / 0.7864 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.2512, allocations: 15.98 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2513, allocations: 0 / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.2513, allocations: 15.89 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2514, allocations: 3.938 kB / 0.7865 GB, free: 9.871 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 7.483e-05/0.2514, allocations: 121.8 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2515, allocations: 7.938 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.2518, allocations: 105.5 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2518, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2519, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2519, allocations: 384 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.252, allocations: 173.5 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.252, allocations: 4 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.2521, allocations: 19.97 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2521, allocations: 0 / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2522, allocations: 0 / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2522, allocations: 4.312 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2522, allocations: 3.938 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.2525, allocations: 207.2 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.2526, allocations: 85.09 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2526, allocations: 0 / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2527, allocations: 7.984 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2527, allocations: 4 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2528, allocations: 0 / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.2528, allocations: 99.23 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2528, allocations: 4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002099/0.253, allocations: 4 kB / 0.7873 GB, free: 8.934 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.000127/0.2532, allocations: 99.25 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2535, allocations: 71.86 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2535, allocations: 0 / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2537, allocations: 39.95 kB / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.254, allocations: 11.94 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.2543, allocations: 131.2 kB / 0.7876 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2545, allocations: 0.6848 MB / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.2546, allocations: 4 kB / 0.7883 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.2546, allocations: 7.438 kB / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2546, allocations: 0 / 0.7883 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.002383/0.257, allocations: 0.5482 MB / 0.7888 GB, free: 7.289 MB / 0.6075 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)