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.009457/0.009457, allocations: 102 kB / 15.73 MB, free: 6.438 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.001904/0.001905, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.996/2.996, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4042, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001868/0.4061, allocations: 0.7196 MB / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.407, allocations: 0.8195 MB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.4071, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.4071, allocations: 3.938 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.4072, allocations: 7.922 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.4074, allocations: 19.97 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.4075, allocations: 47.8 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4076, allocations: 15.98 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.4077, allocations: 11.98 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.4078, allocations: 23.86 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4078, allocations: 4 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.4078, allocations: 4 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.4078, allocations: 11.98 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.4079, allocations: 15.92 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.408, allocations: 47.81 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.408, allocations: 0 / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.408, allocations: 0 / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.408, allocations: 0 / 1.209 GB, free: 7.84 MB / 0.9669 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.0005339/0.4085, allocations: 363.4 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4086, allocations: 8.625 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.4086, allocations: 8.844 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4088, allocations: 172.2 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4088, allocations: 4.375 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4088, allocations: 4.375 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.4091, allocations: 66.22 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4091, allocations: 192 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4091, allocations: 7.922 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4091, allocations: 4 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.4094, allocations: 63.88 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.4098, allocations: 272.9 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.41, allocations: 58.47 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4101, allocations: 40.92 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4102, allocations: 0 / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4102, allocations: 38.55 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4102, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005378/0.4108, allocations: 129.5 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.4108, allocations: 51.41 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.4109, allocations: 105.8 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4109, allocations: 25.7 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.411, allocations: 96.03 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.411, allocations: 7.906 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.411, allocations: 13.72 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4111, allocations: 314.8 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4113, allocations: 39.95 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.4114, allocations: 27.97 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.4117, allocations: 68.78 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4117, allocations: 7.938 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003146/0.412, allocations: 101.8 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4121, allocations: 4 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4121, allocations: 0 / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4121, allocations: 0 / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4122, allocations: 20.02 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4122, allocations: 0 / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.4123, allocations: 23.88 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4123, allocations: 0 / 1.212 GB, free: 5.508 MB / 0.9669 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 7.631e-05/0.4124, allocations: 113.8 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.4124, allocations: 0 / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.4128, allocations: 113.5 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4128, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4128, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4128, allocations: 7.984 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.413, allocations: 173.5 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.413, allocations: 0 / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.4131, allocations: 15.98 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4131, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4131, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4131, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4131, allocations: 3.984 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.4135, allocations: 203.3 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.4135, allocations: 77.11 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.4136, allocations: 3.938 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4137, allocations: 15.98 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.4137, allocations: 11.92 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4137, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.4138, allocations: 87.27 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.4138, allocations: 0 / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002174/0.414, allocations: 12 kB / 1.212 GB, free: 4.578 MB / 0.9669 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.0001457/0.4142, allocations: 95.25 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.4145, allocations: 75.86 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4145, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4147, allocations: 31.97 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.415, allocations: 11.92 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.4153, allocations: 153.7 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4156, allocations: 0.6768 MB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.4156, allocations: 7.984 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.4157, allocations: 7.438 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4157, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of Templates: time 0.002522/0.4182, allocations: 0.6854 MB / 1.214 GB, free: 2.785 MB / 0.9669 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