Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 110.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.001808/0.001808, allocations: 189.5 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.443/1.443, 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.914/2.914, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9846/0.9861, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002243/0.9884, allocations: 0.665 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.9896, allocations: 0.8156 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.9897, allocations: 0 / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.9897, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.9898, allocations: 3.938 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.99, allocations: 11.98 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.9901, allocations: 19.92 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.9902, allocations: 8 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.9903, allocations: 15.92 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.9903, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.9903, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/0.9904, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.9904, allocations: 19.97 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.9904, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.401e-05/0.9905, allocations: 19.91 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.9905, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9905, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.9905, allocations: 0 / 1.21 GB, free: 12.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005726/0.9911, allocations: 343.3 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9912, allocations: 8.031 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.9912, allocations: 0.9375 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.9913, allocations: 176.3 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.9914, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.9914, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.9916, allocations: 46.25 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.9916, allocations: 8.156 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.9916, allocations: 3.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.9916, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.9918, allocations: 31.97 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.9921, allocations: 244.9 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.9923, allocations: 50.47 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.9924, allocations: 24.91 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.9924, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9924, allocations: 42.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.996e-06/0.9924, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.9928, allocations: 89.48 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.9929, allocations: 55.34 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.993, allocations: 97.84 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.993, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.9931, allocations: 88.27 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.9931, allocations: 7.906 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.9932, allocations: 9.719 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9933, allocations: 322.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.9934, allocations: 11.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.9935, allocations: 15.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.9936, allocations: 40.89 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.9936, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.9939, allocations: 73.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9939, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9939, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9939, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.994, allocations: 16.02 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.9941, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.9941, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.9941, allocations: 0 / 1.212 GB, free: 10.01 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 (2): * Single equations (assignments): 2 * 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.26e-05/0.9942, allocations: 109.8 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.9942, allocations: 7.938 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.9945, allocations: 68.78 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.9945, allocations: 0 / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9945, allocations: 0 / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.9946, allocations: 81.11 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.9946, allocations: 3.984 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.9947, allocations: 4 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.9947, allocations: 7.938 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002558/0.995, allocations: 152.9 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002846/0.9953, allocations: 238.7 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.032e-05/0.9954, allocations: 19.92 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.9954, allocations: 83.27 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.9954, allocations: 4.062 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.9959, allocations: 99.06 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006426/0.9965, allocations: 0.5632 MB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of Templates: time 0.003192/0.9997, allocations: 0.524 MB / 1.214 GB, free: 7.949 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches