Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001121/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7458, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001758/0.7476, allocations: 0.7744 MB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.7484, allocations: 0.8273 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.7484, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.7485, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.7485, allocations: 7.938 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.7486, allocations: 11.98 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.7487, allocations: 47.8 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.7488, allocations: 11.98 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.7489, allocations: 15.97 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.7489, allocations: 23.86 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.749, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.749, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.749, allocations: 7.984 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.749, allocations: 15.88 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.123e-05/0.7491, allocations: 39.88 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7491, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.21e-07/0.7491, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.7491, allocations: 3.938 kB / 1.018 GB, free: 1.043 MB / 0.7637 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.0004529/0.7496, allocations: 369.3 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.7496, allocations: 8.031 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.7496, allocations: 4.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7498, allocations: 172.3 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.7498, allocations: 4.375 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.7498, allocations: 384 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.75, allocations: 78.14 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.75, allocations: 4.188 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.7501, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7501, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.7503, allocations: 59.94 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.7507, allocations: 265 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.7509, allocations: 62.36 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.751, allocations: 32.92 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7511, allocations: 7.984 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.7511, allocations: 38.56 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7511, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005312/0.7516, allocations: 125.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.7517, allocations: 51.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.7518, allocations: 113.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.7518, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.7518, allocations: 92.06 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.7518, allocations: 11.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.7519, allocations: 13.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.752, allocations: 314.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7521, allocations: 35.95 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.7523, allocations: 27.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.7526, allocations: 68.78 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7526, allocations: 7.875 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/0.7529, allocations: 101.5 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7529, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7529, allocations: 3.984 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.7529, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.7531, allocations: 15.92 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7531, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.7532, allocations: 15.98 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.7532, allocations: 8 kB / 1.02 GB, free: 14.71 MB / 0.7794 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.273e-05/0.7533, allocations: 113.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.7533, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.7536, allocations: 113.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7537, allocations: 3.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7537, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7537, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.7538, allocations: 169.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7538, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.754, allocations: 19.92 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.754, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.754, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.754, allocations: 3.984 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.754, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.7543, allocations: 195.4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.7544, allocations: 81.02 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.7544, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.7545, allocations: 15.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.7546, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.7546, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.7546, allocations: 91.56 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7546, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002273/0.7548, allocations: 8 kB / 1.021 GB, free: 13.79 MB / 0.7794 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.0001125/0.755, allocations: 103.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.7553, allocations: 71.86 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7553, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.7555, allocations: 43.95 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.7558, allocations: 11.88 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.756, allocations: 143.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.7563, allocations: 0.6848 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.7563, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.7563, allocations: 7.438 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7563, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002475/0.7588, allocations: 0.537 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches