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.001428/0.001427, allocations: 109.2 kB / 16.41 MB, free: 6.438 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.001725/0.001725, allocations: 191.2 kB / 17.34 MB, free: 5.742 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 / 241 MB, free: 15.17 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 64.09 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9663/0.9677, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00184/0.9696, allocations: 0.7087 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.9705, allocations: 0.8324 MB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.9706, allocations: 1.156 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.9706, allocations: 4.734 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.9707, allocations: 5.188 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.9708, allocations: 15.88 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.971, allocations: 44.14 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.9711, allocations: 17.52 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.9711, allocations: 18.41 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.9712, allocations: 22.7 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.9712, allocations: 3.281 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.9712, allocations: 3.312 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.9713, allocations: 7.156 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.9713, allocations: 18.23 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.9714, allocations: 36.41 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9714, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9714, allocations: 0.875 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9715, allocations: 4 kB / 1.09 GB, free: 4.336 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.0004557/0.9719, allocations: 365.3 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.972, allocations: 9.828 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.972, allocations: 6.062 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.821e-05/0.9721, allocations: 170.8 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.9721, allocations: 1.5 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.9721, allocations: 1.438 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.9724, allocations: 77 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9724, allocations: 4.125 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9724, allocations: 5.781 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.9724, allocations: 1.094 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.9727, allocations: 62.03 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.973, allocations: 270.5 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.9732, allocations: 63.12 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.9734, allocations: 37.31 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.9734, allocations: 1.156 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.9734, allocations: 35.22 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.9734, allocations: 1.188 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005452/0.974, allocations: 124.4 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.974, allocations: 55.34 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.9741, allocations: 112.5 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.9741, allocations: 29.7 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.9741, allocations: 83.67 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.9742, allocations: 21.27 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.9742, allocations: 13.83 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.9743, allocations: 318.3 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.9744, allocations: 30.25 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.9746, allocations: 35.28 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.9748, allocations: 67.55 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9748, allocations: 3.938 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003204/0.9752, allocations: 102.1 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.9752, allocations: 9.625 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9752, allocations: 4.609 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.9752, allocations: 0.7188 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.9754, allocations: 15.88 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.9754, allocations: 1.109 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.9755, allocations: 11.81 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.9755, allocations: 4.906 kB / 1.092 GB, free: 2.551 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 4.763e-05/0.9755, allocations: 117 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.9756, allocations: 5.156 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.9759, allocations: 101.1 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.9759, allocations: 1.219 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9759, allocations: 4 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9759, allocations: 1.609 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.9761, allocations: 174.3 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9761, allocations: 3.938 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.9762, allocations: 15.64 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.9762, allocations: 1.953 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.9762, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9762, allocations: 1.062 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9762, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.9766, allocations: 197.9 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.9766, allocations: 83.75 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.9766, allocations: 0.7188 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.9767, allocations: 11.81 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.9768, allocations: 8.484 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.9768, allocations: 5.062 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.9768, allocations: 92.09 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9768, allocations: 0 / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002148/0.977, allocations: 6.375 kB / 1.093 GB, free: 1.832 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.0001362/0.9772, allocations: 103.1 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.9775, allocations: 71.75 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9775, allocations: 0 / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.9777, allocations: 34.88 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.978, allocations: 16.77 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.9783, allocations: 141.2 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.9784, allocations: 0.6879 MB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.9785, allocations: 13.03 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9785, allocations: 0.7812 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of Templates: time 0.002368/0.9809, allocations: 0.7472 MB / 1.095 GB, free: 0.8242 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