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.001552/0.001552, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001897/0.001897, allocations: 190.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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.011/3.011, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 67.84 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9866/0.9882, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00207/0.9903, allocations: 0.7057 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.9913, allocations: 0.8312 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.9914, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.9914, allocations: 11.88 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.9915, allocations: 11.88 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.9917, allocations: 7.984 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.9918, allocations: 47.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.9919, allocations: 11.98 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.992, allocations: 15.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.992, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.992, allocations: 7.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.9921, allocations: 8 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.9921, allocations: 11.92 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.9921, allocations: 15.94 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.9922, allocations: 47.78 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9922, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9922, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.9923, allocations: 0 / 1.21 GB, free: 11.86 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.0005416/0.9928, allocations: 355.2 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.9929, allocations: 12.03 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.9929, allocations: 8.844 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.993, allocations: 166.2 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.993, allocations: 8.359 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.9931, allocations: 384 / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.9933, allocations: 66.22 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9933, allocations: 192 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9934, allocations: 11.88 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9934, allocations: 4 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.9937, allocations: 63.92 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.9941, allocations: 264.9 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.9943, allocations: 58.48 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.9945, allocations: 40.89 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.9945, allocations: 3.938 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.9945, allocations: 38.56 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.9945, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005587/0.9951, allocations: 129.6 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.9951, allocations: 51.41 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.9952, allocations: 109.8 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9953, allocations: 29.7 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.9953, allocations: 88.05 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.9953, allocations: 7.844 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.9954, allocations: 21.72 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9955, allocations: 314.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.9957, allocations: 31.97 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.9958, allocations: 35.89 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.9961, allocations: 72.73 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9961, allocations: 0 / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.9965, allocations: 101.5 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.9965, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9965, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9965, allocations: 7.938 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.9967, allocations: 15.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.9967, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.9968, allocations: 11.98 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.9968, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 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.31e-05/0.9969, allocations: 125.7 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.9969, allocations: 3.906 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.9973, allocations: 109.5 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.9973, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.9973, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.9974, allocations: 77.11 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.9974, allocations: 4 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.9975, allocations: 7.984 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.9976, allocations: 23.92 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004087/0.998, allocations: 180.8 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004102/0.9984, allocations: 275.1 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.9986, allocations: 39.98 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.9986, allocations: 83.28 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of Backend: time 2.3e-07/0.9986, allocations: 4 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.9991, allocations: 118.3 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005528/0.9997, allocations: 0.5887 MB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.003046/1.003, allocations: 0.8447 MB / 1.215 GB, free: 6.965 MB / 0.9356 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