Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00199/0.00199, allocations: 201.6 kB / 16.14 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.08 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4286, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0035/0.4321, allocations: 0.7672 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.4337, allocations: 0.8312 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.4338, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.4339, allocations: 3.938 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.4339, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.4342, allocations: 23.92 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.4343, allocations: 39.86 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.4344, allocations: 11.98 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4346, allocations: 15.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.4347, allocations: 19.91 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.4347, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.4347, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.4347, allocations: 8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.4348, allocations: 19.86 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.4349, allocations: 35.88 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.435, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.435, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.435, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 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.0009338/0.4359, allocations: 363.7 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.436, allocations: 8.031 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.4361, allocations: 12.78 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4364, allocations: 172.3 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.4364, allocations: 4.375 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.4364, allocations: 384 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.4368, allocations: 66.22 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.4368, allocations: 4.172 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.4368, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4368, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.4372, allocations: 63.94 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.4378, allocations: 268.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.4381, allocations: 62.47 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.4383, allocations: 40.86 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4384, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4384, allocations: 38.55 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4384, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005905/0.439, allocations: 129.7 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4391, allocations: 51.41 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4392, allocations: 113.8 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4392, allocations: 25.7 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.4393, allocations: 92.03 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.4393, allocations: 3.906 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.4394, allocations: 21.72 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4396, allocations: 310.8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4398, allocations: 35.95 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4399, allocations: 35.89 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.4402, allocations: 72.78 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4402, allocations: 7.938 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003327/0.4405, allocations: 97.56 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.4406, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4406, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4406, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4408, allocations: 23.97 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4408, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.4409, allocations: 15.98 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4409, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 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.0001271/0.441, allocations: 113.8 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4411, allocations: 3.906 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.4415, allocations: 113.5 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4415, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4415, allocations: 3.984 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4415, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4418, allocations: 173.5 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4418, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4419, allocations: 15.98 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4419, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4419, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4419, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.442, allocations: 3.984 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.4423, allocations: 199.4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.4424, allocations: 85.02 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.4424, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4425, allocations: 11.98 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4426, allocations: 3.984 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4426, allocations: 7.938 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.4426, allocations: 87.27 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4426, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002328/0.4429, allocations: 8 kB / 1.072 GB, free: 5.836 MB / 0.8262 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.0001765/0.4431, allocations: 99.25 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.4434, allocations: 71.92 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4434, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4436, allocations: 43.83 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4439, allocations: 11.94 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.4443, allocations: 140.1 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4447, allocations: 0.6809 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.4448, allocations: 4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.4448, allocations: 11.44 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4448, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.003337/0.4482, allocations: 0.5526 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1)