Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001844/0.001844, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 63.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.864, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001941/0.866, allocations: 0.7034 MB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.8669, allocations: 0.8308 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.867, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.867, allocations: 3.938 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.8671, allocations: 10.17 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.8673, allocations: 23.47 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.8674, allocations: 39.95 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8675, allocations: 10.2 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.8676, allocations: 16.75 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.8676, allocations: 23.02 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.8677, allocations: 4.125 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.8677, allocations: 3.75 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.8677, allocations: 11.45 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.8677, allocations: 20.81 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.8678, allocations: 45.38 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8679, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8679, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8679, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 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.0004717/0.8684, allocations: 364.9 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8684, allocations: 9.656 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.8684, allocations: 15.62 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/0.8685, allocations: 166 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.8685, allocations: 1.5 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.8686, allocations: 2.391 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.8689, allocations: 68.48 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8689, allocations: 4.125 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.8689, allocations: 5.719 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8689, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.8692, allocations: 71.58 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.8695, allocations: 265 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.8698, allocations: 59.2 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.8699, allocations: 41.78 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.8699, allocations: 1.062 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.87, allocations: 31.98 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.87, allocations: 3.938 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005625/0.8705, allocations: 128.3 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.8706, allocations: 53.03 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.8707, allocations: 107.1 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.8707, allocations: 26.58 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.8707, allocations: 87.59 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.8707, allocations: 21.62 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.8708, allocations: 13.7 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.8708, allocations: 317.6 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.871, allocations: 30.36 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.8711, allocations: 31.69 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.8714, allocations: 79.05 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8714, allocations: 3.938 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003275/0.8718, allocations: 98.53 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8718, allocations: 5.5 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8718, allocations: 1.094 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8718, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.872, allocations: 20.03 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.872, allocations: 0.7031 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.8721, allocations: 12.08 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.8721, allocations: 0.9688 kB / 1.092 GB, free: 2.535 MB / 0.8575 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 5.624e-05/0.8721, allocations: 116.1 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.8722, allocations: 6.281 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.8726, allocations: 112.9 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8726, allocations: 0.5938 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8726, allocations: 0 / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8726, allocations: 1.609 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.8727, allocations: 174.4 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8727, allocations: 0 / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.8728, allocations: 16.03 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8729, allocations: 1.234 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.8729, allocations: 8.844 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8729, allocations: 0 / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8729, allocations: 1.672 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.8732, allocations: 197.7 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.8733, allocations: 83 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.8733, allocations: 5.438 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.8734, allocations: 10.77 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.8735, allocations: 8.328 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.8735, allocations: 0.7188 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.8735, allocations: 84.27 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8735, allocations: 0 / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002137/0.8737, allocations: 10.88 kB / 1.093 GB, free: 1.809 MB / 0.8575 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.8739, allocations: 104.2 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.8743, allocations: 66.3 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8743, allocations: 4.781 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.8744, allocations: 34.3 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.8748, allocations: 13.45 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.8751, allocations: 140.1 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.8752, allocations: 0.6801 MB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.8753, allocations: 9.719 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.8753, allocations: 0.9375 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Templates: time 0.002401/0.8777, allocations: 0.7621 MB / 1.095 GB, free: 0.8008 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches