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.Atan.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.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008461/0.0008503, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007684/0.007684, allocations: 170 kB / 16.26 MB, free: 6.613 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.595/1.595, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.578/1.578, allocations: 252 MB / 0.5105 GB, free: 4.664 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.000543/0.0005428, allocations: 16.56 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5622, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001626/0.5639, allocations: 1.102 MB / 0.7298 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.5642, allocations: 124.5 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.5643, allocations: 0 / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.5643, allocations: 0 / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.5644, allocations: 7.938 kB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.5646, allocations: 11.98 kB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.5646, allocations: 19.94 kB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.5648, allocations: 7.984 kB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.5648, allocations: 15.88 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.5649, allocations: 3.984 kB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.5649, allocations: 4 kB / 0.73 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.5649, allocations: 0 / 0.73 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.5649, allocations: 7.922 kB / 0.73 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.565, allocations: 37.7 kB / 0.73 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.711e-05/0.5651, allocations: 23.89 kB / 0.7301 GB, free: 9.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5651, allocations: 0 / 0.7301 GB, free: 9.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5651, allocations: 0 / 0.7301 GB, free: 9.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.5651, allocations: 0 / 0.7301 GB, free: 9.918 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005343/0.5656, allocations: 340.9 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5657, allocations: 8.031 kB / 0.7304 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.5657, allocations: 4.938 kB / 0.7304 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.5658, allocations: 168.3 kB / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5659, allocations: 384 / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.5659, allocations: 384 / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.5661, allocations: 54.23 kB / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5661, allocations: 4.125 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5661, allocations: 7.938 kB / 0.7306 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5661, allocations: 0 / 0.7306 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.5663, allocations: 47.95 kB / 0.7307 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.5667, allocations: 248.9 kB / 0.7309 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.5668, allocations: 42.5 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5669, allocations: 32.89 kB / 0.731 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5669, allocations: 3.984 kB / 0.731 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.567, allocations: 38.5 kB / 0.731 GB, free: 8.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.567, allocations: 0 / 0.731 GB, free: 8.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003839/0.5674, allocations: 101.6 kB / 0.7311 GB, free: 8.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5674, allocations: 55.53 kB / 0.7312 GB, free: 8.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.5675, allocations: 97.86 kB / 0.7313 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5675, allocations: 25.7 kB / 0.7313 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.5676, allocations: 80.14 kB / 0.7314 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.5676, allocations: 11.89 kB / 0.7314 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.5676, allocations: 13.72 kB / 0.7314 GB, free: 8.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5677, allocations: 310.8 kB / 0.7317 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.5678, allocations: 23.98 kB / 0.7317 GB, free: 8.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.5679, allocations: 23.92 kB / 0.7317 GB, free: 7.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.5681, allocations: 52.88 kB / 0.7318 GB, free: 7.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5681, allocations: 0 / 0.7318 GB, free: 7.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002215/0.5683, allocations: 77.59 kB / 0.7319 GB, free: 7.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5684, allocations: 15.97 kB / 0.7319 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5684, allocations: 0 / 0.7319 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5684, allocations: 0 / 0.7319 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.5685, allocations: 8 kB / 0.7319 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5685, allocations: 0 / 0.7319 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.5686, allocations: 11.98 kB / 0.7319 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.5686, allocations: 3.984 kB / 0.7319 GB, free: 7.82 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 8.342e-05/0.5687, allocations: 121.7 kB / 0.732 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.5687, allocations: 7.906 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.569, allocations: 80.77 kB / 0.7321 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.569, allocations: 0 / 0.7321 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.569, allocations: 0 / 0.7321 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.569, allocations: 4.031 kB / 0.7321 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.5692, allocations: 161.6 kB / 0.7323 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5692, allocations: 0 / 0.7323 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.5693, allocations: 15.98 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5693, allocations: 0 / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.5693, allocations: 0 / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5693, allocations: 4 kB / 0.7323 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5693, allocations: 0 / 0.7323 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.5696, allocations: 175.4 kB / 0.7324 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.5696, allocations: 77.11 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.5696, allocations: 0 / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.5697, allocations: 23.95 kB / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5697, allocations: 0 / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5697, allocations: 0 / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.5698, allocations: 83.27 kB / 0.7326 GB, free: 6.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5698, allocations: 0 / 0.7326 GB, free: 6.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002134/0.57, allocations: 4 kB / 0.7326 GB, free: 6.977 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.000154/0.5702, allocations: 99.25 kB / 0.7327 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.5704, allocations: 47.97 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5704, allocations: 0 / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.5705, allocations: 31.91 kB / 0.7328 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5708, allocations: 12 kB / 0.7328 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.5711, allocations: 119.7 kB / 0.7329 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5714, allocations: 0.6731 MB / 0.7336 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.5714, allocations: 0 / 0.7336 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.5714, allocations: 11.44 kB / 0.7336 GB, free: 5.93 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5714, allocations: 0 / 0.7336 GB, free: 5.93 MB / 0.545 GB Notification: Performance of Templates: time 0.002427/0.5739, allocations: 354.8 kB / 0.7339 GB, free: 5.586 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) Environment - environmentSimulation: