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.001261/0.001266, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001319/0.00132, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.397/2.397, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7122, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001798/0.714, allocations: 0.6961 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.7149, allocations: 0.8312 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.715, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.715, allocations: 3.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.7151, allocations: 11.86 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.7152, allocations: 19.97 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.7153, allocations: 35.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.7154, allocations: 11.98 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.7155, allocations: 19.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.7155, allocations: 23.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.7155, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.7156, allocations: 7.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.7156, allocations: 11.92 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.7156, allocations: 15.92 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.225e-05/0.7157, allocations: 39.81 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7157, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7157, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.7157, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 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.0005422/0.7163, allocations: 367.2 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7163, allocations: 12.03 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.7164, allocations: 4.844 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.7165, allocations: 166.2 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.7165, allocations: 384 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.7165, allocations: 4.375 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.7167, allocations: 70.2 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7168, allocations: 192 / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.7168, allocations: 7.938 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7168, allocations: 7.922 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.7171, allocations: 59.94 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.7174, allocations: 272.9 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.7176, allocations: 62.47 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.7178, allocations: 36.92 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.7178, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.7178, allocations: 38.48 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.7178, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/0.7184, allocations: 125.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.7184, allocations: 55.41 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.7185, allocations: 105.8 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.7185, allocations: 25.7 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.7186, allocations: 96.03 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.7186, allocations: 15.78 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.7186, allocations: 17.72 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.7187, allocations: 310.8 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.7189, allocations: 31.95 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.719, allocations: 35.91 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.7194, allocations: 68.78 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7194, allocations: 3.938 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003048/0.7197, allocations: 93.62 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7197, allocations: 8 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7197, allocations: 4 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7197, allocations: 7.922 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.7199, allocations: 19.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7199, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.72, allocations: 7.984 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.72, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9356 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 6.752e-05/0.72, allocations: 113.7 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.7201, allocations: 11.91 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.7204, allocations: 101.5 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7204, allocations: 4 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7205, allocations: 7.984 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7205, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.7206, allocations: 169.6 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7206, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.7207, allocations: 15.98 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7207, allocations: 4 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.7207, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7208, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7208, allocations: 4.297 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.7211, allocations: 203.7 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.7212, allocations: 85.02 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.7212, allocations: 0 / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.7213, allocations: 7.984 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.7213, allocations: 11.98 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.7213, allocations: 0 / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.7214, allocations: 91.25 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7214, allocations: 0 / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002113/0.7216, allocations: 12 kB / 1.213 GB, free: 8.609 MB / 0.9356 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.0001085/0.7217, allocations: 99.25 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.7221, allocations: 71.86 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.7221, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.7222, allocations: 39.95 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7225, allocations: 11.88 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.7228, allocations: 158.5 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.723, allocations: 0.6807 MB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.7231, allocations: 15.42 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7231, allocations: 3.938 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of Templates: time 0.001794/0.7249, allocations: 0.741 MB / 1.215 GB, free: 6.734 MB / 0.9356 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/jenkins1/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