Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.162/3.162, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.205e-06, allocations: 4 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.085e-05/4.905e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.003199/0.003248, allocations: 0.7115 MB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.005213, allocations: 0.8674 MB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.005267, allocations: 1.594 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.005308, allocations: 7.922 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.00542, allocations: 7.875 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.005671, allocations: 13.61 kB / 0.8125 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.005804, allocations: 51.84 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.00594, allocations: 11.98 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.006074, allocations: 23.92 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.006149, allocations: 17.25 kB / 0.8126 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.006176, allocations: 4 kB / 0.8126 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.00625, allocations: 8 kB / 0.8126 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.006275, allocations: 4 kB / 0.8126 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.006322, allocations: 17.52 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.006531, allocations: 51.8 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.006538, allocations: 3.984 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006539, allocations: 0 / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.006545, allocations: 0.7188 kB / 0.8126 GB, free: 260 kB / 0.7605 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.000829/0.007374, allocations: 380.7 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.00744, allocations: 12.03 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.007608, allocations: 10.55 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.007802, allocations: 120.5 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.00782, allocations: 384 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.007839, allocations: 4.375 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.00812, allocations: 54.89 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.008131, allocations: 1.344 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008144, allocations: 4.375 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.008149, allocations: 384 / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.008438, allocations: 49 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.009032, allocations: 271.8 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.009269, allocations: 48.42 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.009443, allocations: 35.77 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.009472, allocations: 1.75 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.009524, allocations: 37.33 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.009525, allocations: 0 / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006502/0.01018, allocations: 104 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.01024, allocations: 51.41 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01045, allocations: 177.9 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.01048, allocations: 25.7 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01062, allocations: 138.8 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.01065, allocations: 3.953 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.01072, allocations: 29.33 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003639/0.01109, allocations: 492.1 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.01123, allocations: 19.98 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01137, allocations: 24.48 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.01166, allocations: 53.78 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01166, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003622/0.01202, allocations: 81.59 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.01205, allocations: 14.41 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01206, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01207, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01222, allocations: 8 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01223, allocations: 3.984 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.01231, allocations: 4 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01232, allocations: 1.156 kB / 0.8148 GB, free: 13.85 MB / 0.7761 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.000198/0.01252, allocations: 164.5 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.01257, allocations: 4 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.01297, allocations: 90.86 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01298, allocations: 0 / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01298, allocations: 0.8438 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01298, allocations: 0 / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.01327, allocations: 130.4 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01327, allocations: 0 / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.01339, allocations: 11.98 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.0134, allocations: 4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01341, allocations: 4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01341, allocations: 4.719 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01341, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.0139, allocations: 228.8 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.01392, allocations: 5.109 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01394, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01408, allocations: 7.938 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.01414, allocations: 5.078 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01414, allocations: 0 / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001296/0.01427, allocations: 135.2 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01427, allocations: 1.062 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004103/0.01468, allocations: 8 kB / 0.8156 GB, free: 12.99 MB / 0.7761 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.0001968/0.01488, allocations: 96.12 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.01526, allocations: 61.34 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01526, allocations: 0 / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.01542, allocations: 31.67 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.01586, allocations: 9.328 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.0164, allocations: 134.2 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.01651, allocations: 76.52 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.01655, allocations: 3.625 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.01661, allocations: 12.5 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01661, allocations: 0 / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.005143/0.02175, allocations: 0.7362 MB / 0.8167 GB, free: 11.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.278467349009588]