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.01003/0.01003, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001904/0.001904, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.3 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002084/1.093, allocations: 0.7041 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001007/1.094, allocations: 0.8312 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/1.094, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/1.094, allocations: 7.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/1.094, allocations: 3.938 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/1.094, allocations: 23.91 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/1.094, allocations: 39.86 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/1.094, allocations: 19.98 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/1.094, allocations: 15.98 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/1.094, allocations: 27.84 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/1.094, allocations: 0 / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/1.094, allocations: 11.94 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/1.094, allocations: 8 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/1.094, allocations: 15.92 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/1.095, allocations: 43.81 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.095, allocations: 3.938 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/1.095, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.932e-06/1.095, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 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.0006524/1.095, allocations: 367.8 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.095, allocations: 12.92 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/1.095, allocations: 8.891 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.095, allocations: 164.4 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.095, allocations: 4.375 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/1.095, allocations: 4.375 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/1.096, allocations: 62.22 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.096, allocations: 192 / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.096, allocations: 3.938 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.096, allocations: 8 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.096, allocations: 67.86 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/1.096, allocations: 267.4 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/1.097, allocations: 66.47 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/1.097, allocations: 32.92 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/1.097, allocations: 0 / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.097, allocations: 34.56 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/1.097, allocations: 0 / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/1.097, allocations: 137.5 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/1.097, allocations: 51.41 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/1.098, allocations: 113.8 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/1.098, allocations: 29.7 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/1.098, allocations: 84.14 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/1.098, allocations: 15.83 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.098, allocations: 17.72 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.098, allocations: 314.8 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.098, allocations: 35.95 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/1.098, allocations: 31.91 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/1.098, allocations: 76.72 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.098, allocations: 3.938 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002922/1.099, allocations: 93.62 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.099, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.099, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.099, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.099, allocations: 23.97 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.099, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/1.099, allocations: 15.92 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.099, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 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.543e-05/1.099, allocations: 117.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/1.099, allocations: 3.953 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/1.099, allocations: 113.5 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.099, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.099, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.099, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/1.1, allocations: 169.6 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.1, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/1.1, allocations: 19.98 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.1, allocations: 4 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.1, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.1, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/1.1, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/1.1, allocations: 203.3 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/1.1, allocations: 81.11 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.1, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/1.1, allocations: 15.98 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/1.1, allocations: 3.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/1.1, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.517e-05/1.1, allocations: 83.28 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.1, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002095/1.101, allocations: 11.98 kB / 1.171 GB, free: 14.78 MB / 0.9044 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.0001658/1.101, allocations: 101.6 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003492/1.101, allocations: 67.92 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.101, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/1.101, allocations: 39.94 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1.102, allocations: 19.92 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/1.102, allocations: 130 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/1.102, allocations: 0.6768 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3e-05/1.102, allocations: 4 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/1.102, allocations: 7.438 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.102, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.003164/1.106, allocations: 0.6808 MB / 1.173 GB, free: 13.01 MB / 0.9044 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