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.001687/0.001687, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00174/0.00174, allocations: 161.6 kB / 23.54 MB, free: 0.8906 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.871/2.871, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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 1.623e-06/1.623e-06, allocations: 0 / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.399e-05, allocations: 7.406 kB / 0.8109 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002067/0.002091, allocations: 0.6945 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.00335, allocations: 0.8633 MB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.00338, allocations: 0.7188 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.003403, allocations: 7.938 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.003459, allocations: 9.047 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.003604, allocations: 19.92 kB / 0.8124 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.003684, allocations: 45.55 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.003753, allocations: 11.97 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.003825, allocations: 23.98 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.003867, allocations: 19.92 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003883, allocations: 5.531 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.003921, allocations: 7.984 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.003936, allocations: 8 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.003965, allocations: 11.98 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.004078, allocations: 53.33 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.00408, allocations: 4 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00408, allocations: 0 / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004084, allocations: 0 / 0.8126 GB, free: 224 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.000513/0.004597, allocations: 291.2 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.004627, allocations: 8.031 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.004722, allocations: 9.672 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.004833, allocations: 113.7 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004845, allocations: 4.969 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.004853, allocations: 1.156 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.005106, allocations: 75.36 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.005112, allocations: 192 / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005125, allocations: 4.375 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.005128, allocations: 5.688 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.005452, allocations: 69.61 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.005779, allocations: 200.6 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.006001, allocations: 55.03 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.00617, allocations: 37.95 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.00619, allocations: 0.5 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.006226, allocations: 43.88 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.006226, allocations: 0 / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000587/0.006813, allocations: 132.1 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.006855, allocations: 51.41 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006969, allocations: 117.8 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.00699, allocations: 25.7 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.007054, allocations: 84.62 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.007079, allocations: 16.66 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.007119, allocations: 13.7 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.007301, allocations: 323.4 kB / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.007471, allocations: 29.62 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.007622, allocations: 39.89 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.007917, allocations: 66.38 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007919, allocations: 0.9062 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003615/0.00828, allocations: 101 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008295, allocations: 11.94 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.008303, allocations: 3.984 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008317, allocations: 0 / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.008447, allocations: 15.98 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.008451, allocations: 2.75 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/0.008537, allocations: 11.97 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.008543, allocations: 7.938 kB / 0.8145 GB, free: 14.13 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 9.456e-05/0.008638, allocations: 109.8 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.008667, allocations: 4 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.009051, allocations: 111 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009053, allocations: 0 / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.009056, allocations: 0.5 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.009058, allocations: 1.094 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.00922, allocations: 113.2 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009222, allocations: 0 / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.009333, allocations: 20.69 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.009335, allocations: 1.875 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.009341, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.009345, allocations: 3.938 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009346, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.009768, allocations: 200.7 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.009776, allocations: 4.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.009792, allocations: 4 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.009916, allocations: 20.56 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.009952, allocations: 4 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.009956, allocations: 3.688 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.01002, allocations: 87.27 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01002, allocations: 4 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002355/0.01026, allocations: 4 kB / 0.8152 GB, free: 13.4 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.0001165/0.01037, allocations: 99.25 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.01072, allocations: 69.52 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01072, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.01088, allocations: 36.95 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.01117, allocations: 12.34 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.01149, allocations: 136.5 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.01157, allocations: 72.28 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.0116, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.01164, allocations: 15.06 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.01164, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.00314/0.01478, allocations: 0.7391 MB / 0.8163 GB, free: 12.2 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] 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: 7.804445759044029]