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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008482/0.000848, allocations: 98.72 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 183 kB / 16.92 MB, free: 6.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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003681, allocations: 16 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7847, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0008733/0.7856, allocations: 441.5 kB / 0.9561 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000797/0.7864, allocations: 0.8179 MB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.7865, allocations: 0 / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.7865, allocations: 0 / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.7866, allocations: 16.94 kB / 0.957 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.7867, allocations: 15.8 kB / 0.957 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.7868, allocations: 39.92 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.7869, allocations: 4.906 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.787, allocations: 17.8 kB / 0.957 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.7871, allocations: 17.77 kB / 0.9571 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.7871, allocations: 1.312 kB / 0.9571 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.7871, allocations: 5.656 kB / 0.9571 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.7871, allocations: 13.39 kB / 0.9571 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.7872, allocations: 40.66 kB / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.547e-05/0.7872, allocations: 21.25 kB / 0.9571 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7872, allocations: 1.438 kB / 0.9571 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7872, allocations: 3.938 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7872, allocations: 0 / 0.9571 GB, free: 6.629 MB / 0.7169 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.000448/0.7877, allocations: 375.3 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.7877, allocations: 9.156 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.7878, allocations: 8.156 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.44e-05/0.7879, allocations: 169.8 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7879, allocations: 1.781 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.7879, allocations: 9.719 kB / 0.9577 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.7882, allocations: 81.83 kB / 0.9578 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.7882, allocations: 192 / 0.9578 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7882, allocations: 7.938 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7882, allocations: 1.469 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.7886, allocations: 90.2 kB / 0.9579 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.7889, allocations: 260.2 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.7891, allocations: 74.03 kB / 0.9582 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.7893, allocations: 53.19 kB / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7893, allocations: 0 / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.7893, allocations: 31.94 kB / 0.9583 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.7893, allocations: 0 / 0.9583 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005667/0.7899, allocations: 164 kB / 0.9584 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.7899, allocations: 51.41 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.79, allocations: 112.6 kB / 0.9586 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.79, allocations: 25.7 kB / 0.9586 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.7901, allocations: 93.88 kB / 0.9587 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.7901, allocations: 13.86 kB / 0.9587 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.7901, allocations: 9.719 kB / 0.9587 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.7902, allocations: 320.6 kB / 0.959 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.7904, allocations: 42.92 kB / 0.9591 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.7905, allocations: 39.69 kB / 0.9591 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.7908, allocations: 94.78 kB / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7908, allocations: 3.938 kB / 0.9592 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003394/0.7911, allocations: 125.1 kB / 0.9593 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7912, allocations: 4.781 kB / 0.9593 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.7912, allocations: 1.188 kB / 0.9593 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7912, allocations: 3.984 kB / 0.9593 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.7913, allocations: 23.02 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7913, allocations: 1.25 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.7914, allocations: 15.14 kB / 0.9594 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.7915, allocations: 1.594 kB / 0.9594 GB, free: 4.637 MB / 0.7169 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.48e-05/0.7915, allocations: 116.1 kB / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.7915, allocations: 5.75 kB / 0.9595 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.7919, allocations: 130.9 kB / 0.9596 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7919, allocations: 9.016 kB / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7919, allocations: 3.938 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.792, allocations: 1.312 kB / 0.9596 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.7921, allocations: 169.1 kB / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7921, allocations: 0 / 0.9598 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.841e-05/0.7922, allocations: 19.17 kB / 0.9598 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7922, allocations: 1.438 kB / 0.9598 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.7922, allocations: 4 kB / 0.9598 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7922, allocations: 3.984 kB / 0.9598 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7922, allocations: 1.219 kB / 0.9598 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.7926, allocations: 219.9 kB / 0.96 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.7926, allocations: 78.45 kB / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.7926, allocations: 0 / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.7928, allocations: 19.56 kB / 0.9601 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.7928, allocations: 10.72 kB / 0.9601 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.7928, allocations: 5.375 kB / 0.9601 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.7928, allocations: 85.17 kB / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7929, allocations: 0 / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.7931, allocations: 10.75 kB / 0.9602 GB, free: 3.832 MB / 0.7169 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.0001174/0.7932, allocations: 97.38 kB / 0.9603 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.7936, allocations: 90.05 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7936, allocations: 0 / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.7937, allocations: 51.2 kB / 0.9604 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.794, allocations: 6.688 kB / 0.9604 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.7943, allocations: 166.2 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.7945, allocations: 0.6812 MB / 0.9613 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.7945, allocations: 12.75 kB / 0.9613 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7945, allocations: 0 / 0.9613 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.002198/0.7967, allocations: 0.7371 MB / 0.962 GB, free: 2.438 MB / 0.7169 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