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.0009623/0.0009623, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001055/0.001055, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.395 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.917/2.917, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003948, allocations: 16 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8611, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00143/0.8626, allocations: 434.1 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.8643, allocations: 0.8235 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.8644, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.8644, allocations: 3.938 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.8645, allocations: 7.922 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.8648, allocations: 15.98 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.8649, allocations: 31.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.8651, allocations: 19.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.8652, allocations: 11.92 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.8652, allocations: 15.92 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.8653, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.8653, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.8653, allocations: 11.94 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.8654, allocations: 29.7 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.8655, allocations: 35.92 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8655, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8655, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.8655, allocations: 0 / 1.024 GB, free: 14.6 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.0006456/0.8662, allocations: 369.2 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8662, allocations: 12.03 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.8663, allocations: 3.906 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.8664, allocations: 163.1 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8665, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.8665, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.8668, allocations: 89.53 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8669, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8669, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8669, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.8673, allocations: 87.92 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.8678, allocations: 268.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.8681, allocations: 74.47 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.8683, allocations: 60.83 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.8684, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.8685, allocations: 30.56 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.8685, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0007064/0.8692, allocations: 161.6 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.8693, allocations: 51.41 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.8694, allocations: 109.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.8694, allocations: 33.7 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.8695, allocations: 84.12 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.8695, allocations: 15.75 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.8696, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8697, allocations: 314.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.8699, allocations: 43.95 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.8701, allocations: 43.97 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8703, allocations: 43.95 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8703, allocations: 3.953 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/0.8706, allocations: 117.6 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8707, allocations: 4.781 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8707, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8707, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.8709, allocations: 19.98 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8709, allocations: 3.938 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.871, allocations: 19.97 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.871, allocations: 8 kB / 1.026 GB, free: 12.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.943e-05/0.8711, allocations: 113.8 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.8711, allocations: 11.86 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.8715, allocations: 125.5 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8715, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8715, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.8716, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.8718, allocations: 169.6 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8718, allocations: 4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.8719, allocations: 23.94 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.8719, allocations: 4 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.8719, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8719, allocations: 3.938 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8719, allocations: 3.938 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.8723, allocations: 215.5 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.8724, allocations: 81.02 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.8724, allocations: 3.953 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.8725, allocations: 20.41 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.8726, allocations: 7.984 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-06/0.8726, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.8726, allocations: 87.28 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8726, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000242/0.8729, allocations: 4 kB / 1.027 GB, free: 11.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.8731, allocations: 109.5 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.8734, allocations: 95.84 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8734, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.8736, allocations: 47.97 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.8739, allocations: 8 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.8743, allocations: 130.7 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.8747, allocations: 0.6848 MB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.8748, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.8748, allocations: 15.44 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8748, allocations: 4 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of Templates: time 0.003016/0.8778, allocations: 0.5241 MB / 1.028 GB, free: 9.543 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