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.001936/0.001946, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002517/0.002517, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.21/3.21, allocations: 482.6 MB / 0.7549 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 66.34 kB / 0.9241 GB, free: 29.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4502, allocations: 162.3 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00226/0.4525, allocations: 0.7049 MB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4541, allocations: 0.8273 MB / 1.084 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.4541, allocations: 3.938 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.4542, allocations: 7.938 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.4543, allocations: 7.922 kB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.4544, allocations: 11.98 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.4545, allocations: 55.78 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4547, allocations: 12 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.4547, allocations: 15.98 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.4548, allocations: 23.86 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.4548, allocations: 4 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.4548, allocations: 4 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.4549, allocations: 7.984 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.4549, allocations: 19.86 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.523e-05/0.455, allocations: 39.86 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.455, allocations: 0 / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.455, allocations: 0 / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.455, allocations: 0 / 1.084 GB, free: 11.16 MB / 0.8419 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.0005967/0.4557, allocations: 363.7 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4557, allocations: 12.03 kB / 1.085 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.4557, allocations: 4.844 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.4559, allocations: 176.2 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4559, allocations: 384 / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4559, allocations: 4.359 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.4562, allocations: 74.22 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4562, allocations: 4.172 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4563, allocations: 3.938 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4563, allocations: 0 / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.4566, allocations: 63.92 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.457, allocations: 268.9 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.4572, allocations: 58.48 kB / 1.085 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4574, allocations: 40.91 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4574, allocations: 0 / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4575, allocations: 34.56 kB / 1.085 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4575, allocations: 0 / 1.085 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005863/0.4581, allocations: 129.5 kB / 1.085 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4581, allocations: 51.41 kB / 1.086 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4582, allocations: 117.8 kB / 1.086 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4583, allocations: 29.7 kB / 1.086 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.4583, allocations: 84.05 kB / 1.086 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4584, allocations: 11.91 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.4584, allocations: 13.72 kB / 1.086 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002588/0.4587, allocations: 318.8 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.4588, allocations: 27.97 kB / 1.086 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4591, allocations: 39.89 kB / 1.086 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.4594, allocations: 64.8 kB / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4594, allocations: 7.875 kB / 1.086 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003375/0.4598, allocations: 105.5 kB / 1.086 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4598, allocations: 9.094 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4598, allocations: 0 / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4598, allocations: 0 / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.46, allocations: 11.98 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.46, allocations: 4 kB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.4601, allocations: 15.89 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4601, allocations: 8 kB / 1.086 GB, free: 8.816 MB / 0.8419 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.0001091/0.4602, allocations: 117.8 kB / 1.086 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4603, allocations: 4 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.4608, allocations: 101.5 kB / 1.087 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4608, allocations: 0 / 1.087 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4609, allocations: 4 kB / 1.087 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4609, allocations: 4 kB / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4611, allocations: 173.9 kB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4611, allocations: 0 / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.4612, allocations: 15.97 kB / 1.087 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4612, allocations: 0 / 1.087 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4613, allocations: 4 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4613, allocations: 0 / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4613, allocations: 0 / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.4617, allocations: 203.3 kB / 1.087 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.4618, allocations: 81.09 kB / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4618, allocations: 4 kB / 1.087 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4619, allocations: 7.984 kB / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.462, allocations: 11.94 kB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.462, allocations: 4 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.4621, allocations: 91.27 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4621, allocations: 0 / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002218/0.4623, allocations: 4 kB / 1.087 GB, free: 7.898 MB / 0.8419 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.0002324/0.4626, allocations: 99.78 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.463, allocations: 67.92 kB / 1.087 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.463, allocations: 4 kB / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4631, allocations: 39.89 kB / 1.087 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4636, allocations: 15.88 kB / 1.087 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.4641, allocations: 134.1 kB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.4646, allocations: 0.6845 MB / 1.088 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.4647, allocations: 0 / 1.088 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.4647, allocations: 15.44 kB / 1.088 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.4647, allocations: 0 / 1.088 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of Templates: time 0.003746/0.4685, allocations: 0.6721 MB / 1.089 GB, free: 6.117 MB / 0.8419 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=400 -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