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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001417/0.001417, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001562/0.001562, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.559/1.559, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.214/3.214, allocations: 472.7 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.53 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4063, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002475/0.4088, allocations: 0.7633 MB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.4099, allocations: 0.8273 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.4099, allocations: 3.938 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.41, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.4101, allocations: 11.94 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.4103, allocations: 19.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.4104, allocations: 47.84 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.4105, allocations: 11.98 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.4106, allocations: 19.92 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.4107, allocations: 19.92 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.4107, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.4107, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.4107, allocations: 7.984 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.4108, allocations: 19.88 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4109, allocations: 43.84 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4109, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4109, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4109, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 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.0006726/0.4116, allocations: 359.7 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4117, allocations: 8.031 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.4117, allocations: 8.844 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4119, allocations: 176.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4119, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.4119, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.4122, allocations: 74.2 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4122, allocations: 192 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4123, allocations: 7.922 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4123, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.4125, allocations: 67.92 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.4129, allocations: 268.8 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4131, allocations: 54.48 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.4133, allocations: 52.91 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4133, allocations: 0 / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4134, allocations: 30.56 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.4134, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005246/0.4139, allocations: 133.5 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.4139, allocations: 51.41 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.414, allocations: 109.8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4141, allocations: 25.7 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.4141, allocations: 88.05 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.4141, allocations: 7.906 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.4142, allocations: 17.72 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4143, allocations: 322.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4145, allocations: 27.97 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4146, allocations: 35.89 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.4149, allocations: 68.8 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4149, allocations: 3.938 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003031/0.4152, allocations: 101.5 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4152, allocations: 4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4152, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4152, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.4154, allocations: 19.98 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4154, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.4155, allocations: 11.98 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4155, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 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.000109/0.4156, allocations: 117.8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4157, allocations: 3.906 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.4161, allocations: 113.5 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4161, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4161, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4161, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4163, allocations: 169.5 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4163, allocations: 4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.4164, allocations: 15.97 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4164, allocations: 4.375 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4164, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4164, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4165, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.4168, allocations: 195.4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4169, allocations: 89 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4169, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.417, allocations: 15.92 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.4171, allocations: 8 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4171, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.4172, allocations: 83.27 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4172, allocations: 4 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002175/0.4174, allocations: 8 kB / 1.072 GB, free: 5.66 MB / 0.8262 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.0002256/0.4176, allocations: 103.2 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.418, allocations: 67.86 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.418, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.4181, allocations: 43.89 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4185, allocations: 17.91 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.4188, allocations: 146 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4191, allocations: 0.6845 MB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.4192, allocations: 0 / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.4192, allocations: 15.44 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4192, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.002814/0.422, allocations: 0.5686 MB / 1.074 GB, free: 3.969 MB / 0.8262 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/jenkins/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