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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 177.9 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007147/0.0007147, allocations: 104.2 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 15.66 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.311, allocations: 131.5 MB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3113, allocations: 67.95 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002523/0.3138, allocations: 0.9316 MB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3139, allocations: 3.938 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3139, allocations: 0 / 1.031 GB, free: 11.02 MB / 0.6823 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.0004256/0.3143, allocations: 371.4 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3144, allocations: 8.031 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.3144, allocations: 12.83 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3145, allocations: 168.3 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3146, allocations: 8.375 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3146, allocations: 384 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3148, allocations: 78.22 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3149, allocations: 4.125 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3149, allocations: 3.938 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3149, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.3152, allocations: 91.92 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3157, allocations: 292.9 kB / 1.032 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3159, allocations: 74.47 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.316, allocations: 56.84 kB / 1.032 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.316, allocations: 4 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3161, allocations: 30.56 kB / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.3161, allocations: 0 / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005084/0.3166, allocations: 161.5 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3166, allocations: 55.39 kB / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.3167, allocations: 109.9 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3168, allocations: 25.7 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.3168, allocations: 95.97 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3168, allocations: 7.906 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.3168, allocations: 0 / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.3169, allocations: 310.8 kB / 1.033 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3171, allocations: 51.89 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3172, allocations: 43.97 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3175, allocations: 88.78 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3175, allocations: 3.938 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002989/0.3178, allocations: 121.9 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3178, allocations: 4 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3178, allocations: 4 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3178, allocations: 0 / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.318, allocations: 23.91 kB / 1.033 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.318, allocations: 4 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.3181, allocations: 31.88 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3181, allocations: 3.984 kB / 1.033 GB, free: 8.496 MB / 0.6823 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 7.442e-05/0.3182, allocations: 113.8 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3182, allocations: 4 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3185, allocations: 125.5 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3185, allocations: 7.984 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3186, allocations: 4 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3186, allocations: 0 / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3187, allocations: 169.6 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3187, allocations: 0 / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.3188, allocations: 19.98 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3188, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.3189, allocations: 4 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3189, allocations: 3.984 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3189, allocations: 7.938 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3192, allocations: 215.3 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.3193, allocations: 81.11 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3193, allocations: 0 / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3194, allocations: 23.97 kB / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3194, allocations: 0 / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3194, allocations: 4 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3195, allocations: 91.27 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3195, allocations: 0 / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002479/0.3197, allocations: 8 kB / 1.034 GB, free: 7.523 MB / 0.6823 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 0.000119/0.3199, allocations: 100.6 kB / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.3202, allocations: 95.86 kB / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3202, allocations: 0 / 1.034 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3204, allocations: 47.95 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3206, allocations: 14 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.3209, allocations: 140.4 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.3212, allocations: 0.6848 MB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.3212, allocations: 4 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3212, allocations: 7.438 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3212, allocations: 0 / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.002178/0.3234, allocations: 0.5434 MB / 1.035 GB, free: 5.844 MB / 0.6823 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)