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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001085/0.001085, 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.001438/0.001438, allocations: 182.3 kB / 16.92 MB, free: 6.914 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.000418, allocations: 10.72 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3198, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0009434/0.3208, allocations: 436.4 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3218, allocations: 0.8313 MB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.3219, allocations: 0 / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.3219, allocations: 0 / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.322, allocations: 11.92 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.3222, allocations: 11.98 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.3223, allocations: 43.86 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3224, allocations: 7.984 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.3225, allocations: 19.92 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.3225, allocations: 19.86 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3226, allocations: 4 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.3226, allocations: 0 / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3226, allocations: 4 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.3227, allocations: 49.55 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.44e-05/0.3227, allocations: 27.94 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3227, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3227, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3228, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 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.0005409/0.3233, allocations: 371.6 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3233, allocations: 8.031 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3234, allocations: 4.938 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3235, allocations: 172.2 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3236, allocations: 4.375 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3236, allocations: 4.375 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3239, allocations: 78.22 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3239, allocations: 4.125 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3239, allocations: 3.938 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3239, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.3242, allocations: 91.91 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3246, allocations: 268.9 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3249, allocations: 74.47 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3251, allocations: 48.92 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3251, allocations: 3.938 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3251, allocations: 34.56 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3251, allocations: 4 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006314/0.3258, allocations: 161.5 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3258, allocations: 55.41 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.3259, allocations: 109.8 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3259, allocations: 25.7 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.326, allocations: 88.14 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.326, allocations: 11.89 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.326, allocations: 9.719 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3262, allocations: 314.8 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3263, allocations: 39.91 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3265, allocations: 47.95 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3268, allocations: 92.78 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3268, allocations: 3.938 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000365/0.3272, allocations: 125.5 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3272, allocations: 5.25 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3272, allocations: 3.938 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3272, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3274, allocations: 19.98 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3274, allocations: 3.984 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.3275, allocations: 15.98 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3275, allocations: 3.938 kB / 1.063 GB, free: 0.9883 MB / 0.8106 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.982e-05/0.3276, allocations: 117.8 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3276, allocations: 0 / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.3281, allocations: 129.5 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3281, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3281, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3281, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3283, allocations: 181.5 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3283, allocations: 0 / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3284, allocations: 23.98 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3284, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3284, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3284, allocations: 4 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3284, allocations: 3.938 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3288, allocations: 227.7 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.3289, allocations: 77.11 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3289, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.329, allocations: 23.92 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3291, allocations: 7.984 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3291, allocations: 4 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.3291, allocations: 83.28 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002173/0.3294, allocations: 8 kB / 1.064 GB, free: 12 kB / 0.8106 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.0001598/0.3295, allocations: 107.2 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.3299, allocations: 91.86 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3299, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3301, allocations: 43.97 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3304, allocations: 11.94 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.3307, allocations: 178.6 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.331, allocations: 0.6848 MB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.331, allocations: 7.438 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3311, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002146/0.3332, allocations: 0.7347 MB / 1.066 GB, free: 14.09 MB / 0.8262 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