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.001138/0.001138, allocations: 106.9 kB / 16.36 MB, free: 6.305 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.001114/0.001114, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001423/0.001423, allocations: 75.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002138/0.2453, allocations: 0.7061 MB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.2463, allocations: 0.836 MB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.2463, allocations: 0 / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.2464, allocations: 3.938 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.2465, allocations: 3.938 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2466, allocations: 11.98 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.2467, allocations: 51.84 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2469, allocations: 8 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.2469, allocations: 23.91 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.247, allocations: 15.92 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.247, allocations: 4 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.247, allocations: 4 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.2471, allocations: 11.92 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.2471, allocations: 19.92 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.2472, allocations: 39.88 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2472, allocations: 4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.534e-06/0.2472, allocations: 0 / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2473, allocations: 0 / 0.7865 GB, free: 1.367 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.000566/0.2478, allocations: 355.4 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2479, allocations: 12.03 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.2479, allocations: 4.844 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2481, allocations: 184.2 kB / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2481, allocations: 4.375 kB / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2481, allocations: 384 / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.2484, allocations: 74.16 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2484, allocations: 192 / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2484, allocations: 3.938 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2484, allocations: 3.938 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2487, allocations: 67.92 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.2492, allocations: 264.9 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.2494, allocations: 58.42 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2496, allocations: 44.91 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2496, allocations: 0 / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2497, allocations: 34.56 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2497, allocations: 0 / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.4184/0.668, allocations: 123.5 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.6681, allocations: 52.38 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.6682, allocations: 108.6 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.6683, allocations: 28.08 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.6683, allocations: 91.81 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.6683, allocations: 5.469 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.6684, allocations: 14.38 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.6685, allocations: 318.8 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.6686, allocations: 34.25 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6687, allocations: 27.97 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.669, allocations: 70.11 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6691, allocations: 3.75 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003307/0.6694, allocations: 102.2 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6694, allocations: 5.25 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6694, allocations: 4.25 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.6695, allocations: 0 / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6696, allocations: 18.28 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6696, allocations: 0 / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.6697, allocations: 21.69 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6697, allocations: 0 / 0.7885 GB, free: 48.21 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 5.975e-05/0.6698, allocations: 109.9 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.6698, allocations: 5.125 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.6702, allocations: 112.3 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6702, allocations: 0 / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6702, allocations: 3 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6702, allocations: 3.75 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.6704, allocations: 166.6 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6704, allocations: 0.5312 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.955e-05/0.6705, allocations: 17.06 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6705, allocations: 0 / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.6705, allocations: 7.406 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6705, allocations: 3.094 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6705, allocations: 1.562 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.6708, allocations: 198.6 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.6709, allocations: 83.81 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.6709, allocations: 3.938 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.671, allocations: 13.09 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.671, allocations: 8.641 kB / 0.7893 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.671, allocations: 0 / 0.7893 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.964e-05/0.6711, allocations: 85.56 kB / 0.7893 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6711, allocations: 2.5 kB / 0.7893 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002137/0.6713, allocations: 5.938 kB / 0.7893 GB, free: 47.56 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.000126/0.6714, allocations: 102.1 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.6718, allocations: 73.14 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6718, allocations: 0 / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.672, allocations: 42.94 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6722, allocations: 11.39 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.6726, allocations: 143.5 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.6727, allocations: 0.6786 MB / 0.7904 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.6728, allocations: 11.09 kB / 0.7904 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6728, allocations: 0 / 0.7904 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002069/0.6749, allocations: 0.7517 MB / 0.7911 GB, free: 46.64 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)