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.001064/0.001064, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007068/0.007068, allocations: 170.1 kB / 16.27 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.556/1.556, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.94/2.94, allocations: 462.7 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 15.09 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4311, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001026/0.4322, allocations: 440.4 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.4332, allocations: 0.8273 MB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.4333, allocations: 4 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.4333, allocations: 0 / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.4334, allocations: 11.92 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.4336, allocations: 11.98 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.4337, allocations: 39.86 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.4338, allocations: 11.98 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.4339, allocations: 23.86 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.434, allocations: 15.92 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.434, allocations: 0 / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.434, allocations: 4 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.434, allocations: 4 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.4341, allocations: 49.55 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.4342, allocations: 35.88 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4342, allocations: 0 / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4342, allocations: 0 / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4342, allocations: 0 / 1.06 GB, free: 4.055 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.0005286/0.4348, allocations: 375.6 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4348, allocations: 8.031 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.4349, allocations: 0.9375 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.435, allocations: 172.2 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.435, allocations: 384 / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.4351, allocations: 8.375 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.4354, allocations: 94.06 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4354, allocations: 192 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4354, allocations: 7.938 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4354, allocations: 0 / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.4357, allocations: 83.94 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.4361, allocations: 257 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.4363, allocations: 74.47 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4365, allocations: 56.86 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4366, allocations: 3.984 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4366, allocations: 34.56 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4366, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005926/0.4372, allocations: 161.5 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4372, allocations: 51.41 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.4373, allocations: 117.8 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4373, allocations: 25.7 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.4374, allocations: 88.12 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4374, allocations: 7.906 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.4374, allocations: 9.719 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4376, allocations: 314.8 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4377, allocations: 51.89 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4379, allocations: 43.91 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4382, allocations: 92.78 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4382, allocations: 7.938 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.4386, allocations: 117.5 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4386, allocations: 10.19 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4386, allocations: 0 / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4386, allocations: 0 / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4388, allocations: 23.97 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4388, allocations: 7.938 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.4389, allocations: 15.98 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.4389, allocations: 0 / 1.062 GB, free: 1.555 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.497e-05/0.439, allocations: 119.3 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.439, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.4394, allocations: 125.5 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4394, allocations: 0 / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4394, allocations: 4 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4394, allocations: 4.359 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4396, allocations: 173.5 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4396, allocations: 0 / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4397, allocations: 19.98 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4397, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4397, allocations: 3.984 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4397, allocations: 7.875 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4398, allocations: 4 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.4401, allocations: 227.3 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.4402, allocations: 77.11 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.4402, allocations: 0 / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4403, allocations: 15.98 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4404, allocations: 7.984 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.4404, allocations: 8 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.4404, allocations: 83.27 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002193/0.4407, allocations: 12 kB / 1.063 GB, free: 0.5781 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.0001435/0.4408, allocations: 95.25 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.4412, allocations: 95.86 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4412, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.4414, allocations: 51.91 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4417, allocations: 11.92 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.4421, allocations: 150.4 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4424, allocations: 0.6809 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.4424, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.4425, allocations: 7.438 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4425, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.002593/0.4451, allocations: 0.5557 MB / 1.065 GB, free: 14.88 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/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