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.001876/0.001876, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001847/0.001847, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 72.28 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3406, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002133/0.3427, allocations: 0.7612 MB / 1.053 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.3436, allocations: 0.8273 MB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.3437, allocations: 4 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.3437, allocations: 3.938 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.3438, allocations: 0 / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.344, allocations: 23.92 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.344, allocations: 39.86 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3442, allocations: 8 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.3442, allocations: 15.92 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.3443, allocations: 27.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3443, allocations: 4 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3443, allocations: 0 / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3444, allocations: 0 / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3444, allocations: 23.86 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.3445, allocations: 39.88 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3445, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3445, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3445, allocations: 0 / 1.054 GB, free: 7.074 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.0005465/0.3451, allocations: 364.6 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3451, allocations: 12.03 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.3452, allocations: 0.9375 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3453, allocations: 184.1 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3453, allocations: 4.375 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.3453, allocations: 4.375 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3456, allocations: 70.16 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3456, allocations: 192 / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3456, allocations: 3.938 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3456, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.3459, allocations: 67.92 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3463, allocations: 268.9 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3466, allocations: 62.45 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3467, allocations: 40.92 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3468, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3468, allocations: 34.56 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3468, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006093/0.3474, allocations: 137.4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3475, allocations: 55.41 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3476, allocations: 109.8 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3476, allocations: 25.7 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.3477, allocations: 88.14 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3477, allocations: 11.81 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.3478, allocations: 17.7 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3479, allocations: 314.8 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.3481, allocations: 31.95 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3482, allocations: 31.97 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.3485, allocations: 72.72 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3485, allocations: 7.938 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.3488, allocations: 97.56 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3489, allocations: 8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3489, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3489, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.349, allocations: 19.98 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3491, allocations: 3.984 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.3491, allocations: 7.984 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3492, allocations: 4 kB / 1.056 GB, free: 4.73 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.686e-05/0.3492, allocations: 109.8 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3493, allocations: 7.906 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.3496, allocations: 109.5 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3497, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3497, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3497, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3499, allocations: 177.5 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3499, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.35, allocations: 11.98 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.35, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.35, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.35, allocations: 3.938 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.35, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.3504, allocations: 199.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3504, allocations: 85.02 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3505, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3506, allocations: 7.984 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3506, allocations: 12.02 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3506, allocations: 4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.3507, allocations: 83.28 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3507, allocations: 0 / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002238/0.3509, allocations: 8 kB / 1.057 GB, free: 3.809 MB / 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.0001694/0.3511, allocations: 107.2 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3514, allocations: 67.92 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3514, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3516, allocations: 35.91 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3519, allocations: 21.73 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.3523, allocations: 135.7 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.3525, allocations: 0.6809 MB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.3525, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.3526, allocations: 15.44 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3526, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of Templates: time 0.002785/0.3554, allocations: 0.5643 MB / 1.058 GB, free: 2.137 MB / 0.8106 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/jenkins/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