Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_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_10_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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 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.001588/0.001588, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.563/1.563, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.923/2.923, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.91 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9067/0.909, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002518/0.9116, allocations: 0.6902 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.9128, allocations: 0.8312 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.9129, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.9129, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.9131, allocations: 11.92 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.9133, allocations: 15.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.9134, allocations: 43.86 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.9136, allocations: 15.97 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.9137, allocations: 12 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.9138, allocations: 31.84 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.9138, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.9138, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.9139, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.9139, allocations: 19.86 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.9141, allocations: 51.73 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9141, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.113e-06/0.9141, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.9141, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 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.0008456/0.915, allocations: 369.3 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.915, allocations: 12.02 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.9151, allocations: 4.938 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.9153, allocations: 164.3 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.9153, allocations: 4.375 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.9153, allocations: 384 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.9156, allocations: 66.22 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9157, allocations: 8.188 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9157, allocations: 3.938 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.9157, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.9161, allocations: 67.86 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.9165, allocations: 269 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.9167, allocations: 58.47 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.9168, allocations: 36.92 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.9169, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.9169, allocations: 34.56 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9169, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005937/0.9175, allocations: 133.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.9176, allocations: 51.41 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.9177, allocations: 113.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.9177, allocations: 29.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.9178, allocations: 84.14 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.9178, allocations: 15.83 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.9179, allocations: 13.72 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.9181, allocations: 314.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.9183, allocations: 31.95 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.9186, allocations: 35.95 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.919, allocations: 72.72 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.919, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005134/0.9196, allocations: 101.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.9196, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9196, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9196, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.9198, allocations: 19.97 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9198, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.92, allocations: 15.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.92, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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 0.0001229/0.9201, allocations: 121.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.9202, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.9207, allocations: 109.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.9207, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9208, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.9208, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.9211, allocations: 181.5 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9211, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.9212, allocations: 15.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.9213, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.9213, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9213, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9213, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.9219, allocations: 203.3 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.922, allocations: 77.11 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.922, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.9222, allocations: 11.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.9223, allocations: 7.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.9223, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.486e-05/0.9224, allocations: 83.28 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9224, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004055/0.9228, allocations: 12 kB / 1.022 GB, free: 13.46 MB / 0.7794 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.0001875/0.923, allocations: 103.2 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.9236, allocations: 63.92 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.9236, allocations: 7.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.9239, allocations: 35.97 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.9244, allocations: 12.34 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.9249, allocations: 139.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.9254, allocations: 0.6846 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.9254, allocations: 3.938 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.9255, allocations: 11.44 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.9255, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.004671/0.9302, allocations: 0.6779 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches