Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_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.001574/0.001574, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.001864/0.001864, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.601/1.601, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9387/0.9402, allocations: 151.7 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001944/0.9422, allocations: 0.6967 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.9433, allocations: 0.8312 MB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.9433, allocations: 0 / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.9434, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.9435, allocations: 11.92 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.9436, allocations: 15.97 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.9437, allocations: 43.86 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.9439, allocations: 23.92 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.944, allocations: 15.98 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.944, allocations: 23.86 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.944, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.9441, allocations: 4 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.9441, allocations: 11.92 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.9441, allocations: 11.94 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.9442, allocations: 47.8 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9443, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9443, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.9443, allocations: 4 kB / 1.169 GB, free: 2.086 MB / 0.8887 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.0005619/0.9448, allocations: 359.2 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9449, allocations: 8.922 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.9449, allocations: 8.844 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.9451, allocations: 166.2 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.9451, allocations: 4.375 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.9451, allocations: 384 / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.9454, allocations: 74.2 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9454, allocations: 8.172 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.9454, allocations: 3.938 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9454, allocations: 0 / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.9457, allocations: 63.92 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.9462, allocations: 267.3 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.9464, allocations: 66.41 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.9466, allocations: 36.91 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.9466, allocations: 0 / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.9466, allocations: 38.56 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9467, allocations: 0 / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000577/0.9472, allocations: 125.5 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.9473, allocations: 51.41 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.9474, allocations: 117.8 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.9474, allocations: 25.7 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.9475, allocations: 88.03 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.9475, allocations: 15.83 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.9475, allocations: 13.72 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9477, allocations: 318.8 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9478, allocations: 31.97 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.948, allocations: 32.02 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.9483, allocations: 68.73 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9483, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.9486, allocations: 105.5 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9487, allocations: 7.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9487, allocations: 3.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9487, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.9488, allocations: 23.92 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9488, allocations: 320 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.9489, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9489, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 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.0001449/0.9491, allocations: 121.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.9491, allocations: 3.906 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.9495, allocations: 113.4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9495, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9495, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.9496, allocations: 81.11 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.9496, allocations: 4.375 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9497, allocations: 7.984 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.9498, allocations: 11.92 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000403/0.9502, allocations: 184.9 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004473/0.9506, allocations: 274.6 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001557/0.9508, allocations: 35.97 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.9509, allocations: 95.25 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Backend: time 3.61e-07/0.9509, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006114/0.9515, allocations: 114.3 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005838/0.9521, allocations: 0.5732 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.003248/0.9554, allocations: 0.8437 MB / 1.174 GB, free: 13.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches