Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_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_latest_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.00159/0.00159, allocations: 112.2 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.001701/0.001701, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 68.11 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 159.1 MB / 1.221 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002493/1.154, allocations: 0.7028 MB / 1.222 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001067/1.155, allocations: 0.8273 MB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/1.155, allocations: 4 kB / 1.222 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/1.155, allocations: 0 / 1.222 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/1.156, allocations: 15.86 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/1.156, allocations: 15.97 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000114/1.156, allocations: 47.86 kB / 1.223 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/1.156, allocations: 7.984 kB / 1.223 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/1.156, allocations: 19.94 kB / 1.223 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/1.156, allocations: 23.84 kB / 1.223 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/1.156, allocations: 4 kB / 1.223 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/1.156, allocations: 4 kB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/1.156, allocations: 4 kB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/1.156, allocations: 23.91 kB / 1.223 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/1.156, allocations: 43.81 kB / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.156, allocations: 0 / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/1.156, allocations: 0 / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.156, allocations: 4 kB / 1.223 GB, free: 0.5664 MB / 0.9356 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.0006998/1.157, allocations: 355.2 kB / 1.223 GB, free: 176 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/1.157, allocations: 16.61 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/1.157, allocations: 4.875 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/1.157, allocations: 174.1 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.157, allocations: 8.375 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/1.158, allocations: 384 / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/1.158, allocations: 74.16 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/1.158, allocations: 192 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/1.158, allocations: 3.938 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.158, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/1.158, allocations: 67.92 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/1.159, allocations: 257 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/1.159, allocations: 66.41 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/1.159, allocations: 40.92 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/1.159, allocations: 0 / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.159, allocations: 34.56 kB / 1.224 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.159, allocations: 0 / 1.224 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005719/1.16, allocations: 129.6 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.16, allocations: 51.41 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/1.16, allocations: 117.7 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.16, allocations: 25.7 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/1.16, allocations: 84.14 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.16, allocations: 15.83 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/1.16, allocations: 21.66 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.16, allocations: 310.8 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/1.16, allocations: 35.95 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.16, allocations: 35.91 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/1.161, allocations: 64.78 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.161, allocations: 4 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/1.161, allocations: 101.5 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.161, allocations: 8 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.161, allocations: 0 / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.161, allocations: 0 / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.161, allocations: 19.91 kB / 1.225 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.161, allocations: 4 kB / 1.225 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/1.161, allocations: 11.98 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/1.161, allocations: 8 kB / 1.225 GB, free: 14.24 MB / 0.9512 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 8.511e-05/1.161, allocations: 113.8 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/1.161, allocations: 4 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/1.162, allocations: 105.8 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.162, allocations: 0 / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.162, allocations: 4 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/1.162, allocations: 89.03 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/1.162, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.162, allocations: 15.92 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/1.162, allocations: 7.938 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004226/1.163, allocations: 188.8 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003995/1.163, allocations: 270.8 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001542/1.163, allocations: 31.97 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.206e-05/1.163, allocations: 91.27 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Backend: time 7.31e-07/1.163, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.164, allocations: 116.2 kB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006901/1.164, allocations: 0.5887 MB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.003911/1.168, allocations: 0.8504 MB / 1.227 GB, free: 11.67 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches