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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01038/0.01038, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001886/0.001886, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.701/1.701, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001576/0.001576, allocations: 71.91 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3382, allocations: 104.7 MB / 0.8281 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.003142/0.3414, allocations: 1.415 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.3418, allocations: 152.8 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3419, allocations: 0 / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.342, allocations: 3.938 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.3421, allocations: 7.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.3423, allocations: 11.98 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3424, allocations: 59.72 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3425, allocations: 12 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.3426, allocations: 11.98 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.3427, allocations: 31.83 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3427, allocations: 4 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.3427, allocations: 4 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.3427, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.3428, allocations: 19.92 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3429, allocations: 43.75 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3429, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3429, allocations: 4 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.343, allocations: 0 / 0.8298 GB, free: 14.35 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.0006077/0.3436, allocations: 355.4 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3436, allocations: 8.031 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3437, allocations: 4.938 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3438, allocations: 184.1 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3438, allocations: 4.375 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3439, allocations: 384 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3441, allocations: 70.22 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3441, allocations: 4.188 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3442, allocations: 3.938 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3442, allocations: 0 / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.3444, allocations: 63.92 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3449, allocations: 268.9 kB / 0.8308 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3451, allocations: 58.47 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3452, allocations: 32.92 kB / 0.8309 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3453, allocations: 8 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3453, allocations: 34.56 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3453, allocations: 0 / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005556/0.3459, allocations: 133.6 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3459, allocations: 55.41 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3461, allocations: 109.8 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3461, allocations: 25.7 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.3462, allocations: 84.14 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3462, allocations: 7.844 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3463, allocations: 21.7 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3465, allocations: 314.8 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3466, allocations: 35.91 kB / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3467, allocations: 35.94 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.347, allocations: 68.78 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.347, allocations: 3.938 kB / 0.8318 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000306/0.3473, allocations: 105.5 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3473, allocations: 7.938 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3473, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3474, allocations: 4 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3475, allocations: 11.98 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3475, allocations: 3.984 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.3476, allocations: 15.98 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3476, allocations: 0 / 0.8319 GB, free: 12.02 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 0.000101/0.3477, allocations: 117.8 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.3478, allocations: 0 / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.3481, allocations: 109.5 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3481, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3481, allocations: 4 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3481, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3483, allocations: 177.5 kB / 0.8323 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3484, allocations: 4 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.3484, allocations: 15.98 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3485, allocations: 0 / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3485, allocations: 0 / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3485, allocations: 0 / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3485, allocations: 4 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.3489, allocations: 199.4 kB / 0.8325 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.3489, allocations: 77.11 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3489, allocations: 0 / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.349, allocations: 11.98 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3491, allocations: 11.92 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3491, allocations: 4 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.3492, allocations: 87.58 kB / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3492, allocations: 0 / 0.8327 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002179/0.3494, allocations: 11.91 kB / 0.8327 GB, free: 11.09 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.0001592/0.3496, allocations: 103.2 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3499, allocations: 71.92 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3499, allocations: 3.938 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3501, allocations: 35.97 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3505, allocations: 14.95 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3509, allocations: 125.5 kB / 0.833 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3513, allocations: 0.6883 MB / 0.8337 GB, free: 10 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.3514, allocations: 0 / 0.8337 GB, free: 10 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3514, allocations: 11.44 kB / 0.8337 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.3514, allocations: 3.938 kB / 0.8337 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of Templates: time 0.003163/0.3546, allocations: 0.6811 MB / 0.8344 GB, free: 9.309 MB / 0.6544 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)