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.001552/0.001552, allocations: 115.8 kB / 16.37 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.002169/0.002169, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 64.22 kB / 0.8774 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3738, allocations: 153 MB / 1.027 GB, free: 1.965 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00236/0.3762, allocations: 0.7078 MB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3775, allocations: 0.8336 MB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.3775, allocations: 0 / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.3776, allocations: 3.938 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.3777, allocations: 11.92 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3779, allocations: 19.92 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.378, allocations: 39.92 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3781, allocations: 15.97 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.3782, allocations: 15.92 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.3782, allocations: 23.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3783, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.3783, allocations: 4 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3783, allocations: 7.984 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.3783, allocations: 15.88 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.039e-05/0.3784, allocations: 47.8 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3784, allocations: 0 / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3785, allocations: 3.938 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.3785, allocations: 0 / 1.028 GB, free: 208 kB / 0.795 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.0005408/0.379, allocations: 367.4 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3791, allocations: 8.031 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.3791, allocations: 8.844 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3792, allocations: 164.3 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3792, allocations: 8.375 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3793, allocations: 384 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3795, allocations: 70.2 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3795, allocations: 4.125 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3795, allocations: 7.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3795, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.3798, allocations: 71.86 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3801, allocations: 264.9 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3803, allocations: 54.48 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3805, allocations: 44.91 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3805, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3806, allocations: 34.56 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3806, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004921/0.3811, allocations: 129.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3811, allocations: 55.39 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3812, allocations: 109.8 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3812, allocations: 29.69 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.3813, allocations: 84.14 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3813, allocations: 7.812 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3814, allocations: 17.72 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3815, allocations: 314.8 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3816, allocations: 35.97 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3817, allocations: 35.98 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.382, allocations: 68.73 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.382, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002784/0.3823, allocations: 97.61 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3823, allocations: 4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3823, allocations: 0 / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3823, allocations: 4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3824, allocations: 11.98 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3824, allocations: 4 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.3825, allocations: 15.98 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.3825, allocations: 0 / 1.031 GB, free: 13.88 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 7.849e-05/0.3826, allocations: 117.7 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3826, allocations: 7.891 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.383, allocations: 113.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.383, allocations: 3.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.383, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.383, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3832, allocations: 181.5 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3832, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3833, allocations: 19.97 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3833, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3833, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3833, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3833, allocations: 4 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.3837, allocations: 199.4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3837, allocations: 81.02 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3837, allocations: 3.984 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3839, allocations: 15.98 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3839, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.3839, allocations: 4 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.384, allocations: 91.25 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002089/0.3842, allocations: 8 kB / 1.031 GB, free: 12.94 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.0001355/0.3843, allocations: 102.1 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3846, allocations: 71.92 kB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3846, allocations: 0 / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.3848, allocations: 39.89 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3851, allocations: 7.938 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3854, allocations: 138.4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3856, allocations: 0.6807 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.3857, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3857, allocations: 7.438 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3857, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.002563/0.3883, allocations: 0.6764 MB / 1.033 GB, free: 11.16 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 -s cvode -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