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.007665/0.007666, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001207/0.001207, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.985/2.985, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 75.88 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.435, allocations: 157.4 MB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001976/0.437, allocations: 0.7081 MB / 1.208 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4381, allocations: 0.8195 MB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.4382, allocations: 0 / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.4382, allocations: 7.922 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.4383, allocations: 7.875 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.4385, allocations: 19.98 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.4386, allocations: 43.86 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4387, allocations: 11.92 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.4388, allocations: 19.98 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.4388, allocations: 23.84 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.4389, allocations: 4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.4389, allocations: 7.938 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.4389, allocations: 7.984 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.4389, allocations: 15.94 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4391, allocations: 47.81 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4391, allocations: 0 / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4391, allocations: 4 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4391, allocations: 0 / 1.209 GB, free: 7.797 MB / 0.9669 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.00058/0.4397, allocations: 355.4 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4397, allocations: 12.62 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.4398, allocations: 4.844 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4399, allocations: 176.2 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.44, allocations: 4.375 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.44, allocations: 8.375 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.4402, allocations: 70.2 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4403, allocations: 192 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.4403, allocations: 7.938 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4403, allocations: 3.938 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.4406, allocations: 67.92 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.441, allocations: 261 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.4412, allocations: 54.48 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4414, allocations: 44.91 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4414, allocations: 0 / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4414, allocations: 34.5 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4414, allocations: 0 / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000576/0.442, allocations: 133.6 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4421, allocations: 59.39 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.4422, allocations: 101.9 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.4422, allocations: 29.69 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.4423, allocations: 92.05 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4423, allocations: 3.906 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4423, allocations: 13.72 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4425, allocations: 318.8 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4426, allocations: 31.97 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4428, allocations: 43.83 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.4431, allocations: 64.8 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4431, allocations: 7.938 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003456/0.4434, allocations: 97.61 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4434, allocations: 4 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4435, allocations: 3.938 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4435, allocations: 0 / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4436, allocations: 15.98 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4436, allocations: 4 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.4437, allocations: 15.89 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4437, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 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.408e-05/0.4438, allocations: 117.7 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4438, allocations: 7.984 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.4442, allocations: 109.5 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4442, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4443, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4443, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4444, allocations: 169.5 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4444, allocations: 0 / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.4446, allocations: 23.97 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4446, allocations: 0 / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4446, allocations: 0 / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4446, allocations: 0 / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4446, allocations: 4 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.445, allocations: 195.3 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.445, allocations: 85.11 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.445, allocations: 7.984 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4451, allocations: 15.98 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.4452, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.4452, allocations: 432 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.4453, allocations: 91.27 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4453, allocations: 0 / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002156/0.4455, allocations: 8 kB / 1.212 GB, free: 4.543 MB / 0.9669 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.0001655/0.4457, allocations: 95.25 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.446, allocations: 75.86 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.446, allocations: 0 / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4462, allocations: 39.98 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.4465, allocations: 13.75 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.4469, allocations: 153.8 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.4472, allocations: 0.6807 MB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.4472, allocations: 4 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.4472, allocations: 7.438 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4472, allocations: 0 / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.003128/0.4504, allocations: 0.7052 MB / 1.214 GB, free: 2.723 MB / 0.9669 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