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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001009/0.001009, allocations: 98.88 kB / 16.02 MB, free: 76 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.001699/0.001699, allocations: 185.5 kB / 16.92 MB, free: 6.684 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004061, allocations: 20 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6436, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0009766/0.6447, allocations: 438.2 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.6458, allocations: 0.8235 MB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.6458, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.6459, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.427e-05/0.646, allocations: 3.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.6461, allocations: 19.97 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.6462, allocations: 39.86 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.6463, allocations: 8 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.6464, allocations: 19.92 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.6465, allocations: 19.86 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.6465, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.6465, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.6466, allocations: 3.984 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.6466, allocations: 37.64 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.6467, allocations: 43.91 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6467, allocations: 3.938 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6467, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6467, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 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.0005488/0.6473, allocations: 365.4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6473, allocations: 12.03 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.6474, allocations: 4.844 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.6475, allocations: 168.3 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6475, allocations: 384 / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.6475, allocations: 8.312 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.6478, allocations: 82.2 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6478, allocations: 192 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6479, allocations: 11.88 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6479, allocations: 3.984 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.6482, allocations: 83.92 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.6486, allocations: 265 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.6488, allocations: 70.48 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.649, allocations: 52.91 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.649, allocations: 3.938 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.649, allocations: 30.56 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6491, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005998/0.6497, allocations: 161.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6497, allocations: 51.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.6498, allocations: 109.8 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.6498, allocations: 29.7 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.6499, allocations: 84.05 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.6499, allocations: 11.84 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.6499, allocations: 13.72 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.65, allocations: 314.8 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.6502, allocations: 43.97 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.6504, allocations: 51.89 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.6507, allocations: 84.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6507, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003884/0.6511, allocations: 121.6 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6511, allocations: 6.188 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6511, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6512, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.6513, allocations: 23.92 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6513, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.969e-05/0.6514, allocations: 23.89 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6514, allocations: 4 kB / 1.027 GB, free: 11.86 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 8.171e-05/0.6515, allocations: 113.7 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.6515, allocations: 7.984 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.6519, allocations: 125.5 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.652, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.652, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.652, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.6521, allocations: 173.6 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6521, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.6523, allocations: 23.97 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6523, allocations: 0 / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6523, allocations: 3.938 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6523, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6523, allocations: 384 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.6527, allocations: 231.2 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.6528, allocations: 81.11 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.6528, allocations: 3.984 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6529, allocations: 15.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.6529, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.6529, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.653, allocations: 95.27 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.653, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002177/0.6532, allocations: 8 kB / 1.028 GB, free: 10.88 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.0001202/0.6534, allocations: 103.2 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.6537, allocations: 95.86 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6537, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.6539, allocations: 47.95 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.6542, allocations: 7.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.6545, allocations: 176.2 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.6548, allocations: 0.6848 MB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.6548, allocations: 7.438 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6549, allocations: 0 / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.002237/0.6571, allocations: 0.7411 MB / 1.03 GB, free: 8.969 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/jenkins1/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