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.001183/0.001183, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001573/0.001573, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.016/3.016, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 14.69 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001398/0.4245, allocations: 436.5 kB / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.4258, allocations: 0.8196 MB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.4259, allocations: 4 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.4259, allocations: 0 / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.426, allocations: 3.938 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.4262, allocations: 15.97 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.4263, allocations: 43.84 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4264, allocations: 4 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.4265, allocations: 15.92 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.4266, allocations: 19.92 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4266, allocations: 4 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.4266, allocations: 7.938 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.4266, allocations: 7.984 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.4267, allocations: 29.64 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.057e-05/0.4268, allocations: 31.94 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4268, allocations: 0 / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4268, allocations: 0 / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4268, allocations: 0 / 1.059 GB, free: 3.934 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.0005951/0.4274, allocations: 371.4 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4274, allocations: 8.031 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.4275, allocations: 4 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.4277, allocations: 174.9 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4277, allocations: 4 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.4277, allocations: 3.953 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.428, allocations: 81.66 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.428, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.428, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.428, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.4283, allocations: 91.92 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.4288, allocations: 276.8 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.429, allocations: 58.55 kB / 1.06 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4292, allocations: 56.91 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4292, allocations: 0 / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4292, allocations: 34.56 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4293, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.4298, allocations: 165.5 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4299, allocations: 51.41 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.43, allocations: 109.8 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.43, allocations: 25.7 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4301, allocations: 88.05 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.4301, allocations: 7.906 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4301, allocations: 4 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4302, allocations: 322.8 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4304, allocations: 39.97 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4305, allocations: 52.12 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4306, allocations: 35.97 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4307, allocations: 4 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.431, allocations: 125.5 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.431, allocations: 5.562 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.431, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.431, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4312, allocations: 23.97 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4312, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.4313, allocations: 19.98 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.4313, allocations: 0 / 1.062 GB, free: 1.516 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4314, allocations: 117.7 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.4314, allocations: 7.906 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.4318, allocations: 125.5 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4318, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4318, allocations: 3.938 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4318, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.432, allocations: 173.5 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.432, allocations: 4 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.4321, allocations: 23.98 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4321, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4322, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4322, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4322, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.4325, allocations: 219.4 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4326, allocations: 85.06 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4326, allocations: 4 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4327, allocations: 15.98 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4328, allocations: 3.984 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4328, allocations: 0 / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.4329, allocations: 91.27 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4329, allocations: 3.938 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002279/0.4331, allocations: 12 kB / 1.062 GB, free: 0.5352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.4333, allocations: 95.25 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.4336, allocations: 87.92 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4336, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4338, allocations: 43.97 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4342, allocations: 11.98 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.4346, allocations: 142.4 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4349, allocations: 0.6809 MB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.435, allocations: 4 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.435, allocations: 11.44 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of SimCode: time 7.21e-07/0.435, allocations: 0 / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.003113/0.4382, allocations: 0.541 MB / 1.064 GB, free: 14.86 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