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.00111/0.00111, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.00107/0.00107, allocations: 189.5 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9145, allocations: 151.6 MB / 1.167 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002696/0.9173, allocations: 0.7218 MB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.9186, allocations: 0.8273 MB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.9187, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.9187, allocations: 3.938 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/0.9188, allocations: 7.922 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.919, allocations: 11.98 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.9192, allocations: 55.78 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9193, allocations: 12 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.9194, allocations: 15.98 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.9195, allocations: 15.92 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.9195, allocations: 4 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.9195, allocations: 7.938 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.9196, allocations: 11.97 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.9196, allocations: 19.92 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.9198, allocations: 43.81 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.9198, allocations: 4 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9198, allocations: 0 / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.9198, allocations: 0 / 1.169 GB, free: 2 MB / 0.8887 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.0006716/0.9205, allocations: 355.2 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.9205, allocations: 8.922 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.9206, allocations: 8.844 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.9208, allocations: 174.1 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9208, allocations: 4.375 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.9208, allocations: 4.375 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.9211, allocations: 66.22 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9212, allocations: 192 / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.9212, allocations: 3.938 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.9212, allocations: 4 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.9215, allocations: 63.92 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.922, allocations: 275.3 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.9222, allocations: 54.42 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.9223, allocations: 44.91 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.9224, allocations: 4 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9224, allocations: 30.56 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.9224, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.923, allocations: 137.5 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.923, allocations: 51.41 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.9231, allocations: 109.8 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.9231, allocations: 25.7 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.9232, allocations: 92.05 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.9232, allocations: 11.78 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.9233, allocations: 21.7 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9234, allocations: 310.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.9235, allocations: 35.97 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.9237, allocations: 31.95 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.924, allocations: 68.78 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.924, allocations: 11.88 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003119/0.9243, allocations: 101.9 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9243, allocations: 4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9243, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.9243, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.9245, allocations: 15.98 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9245, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.9246, allocations: 23.97 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.9246, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 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 7.881e-05/0.9247, allocations: 109.8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.9247, allocations: 7.906 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.9251, allocations: 113.5 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9251, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9251, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9251, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.9253, allocations: 169.6 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9253, allocations: 3.984 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.9254, allocations: 19.98 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9254, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.9254, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9254, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9254, allocations: 4 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.9258, allocations: 195.4 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.9258, allocations: 85.02 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.9259, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.926, allocations: 15.98 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.926, allocations: 3.984 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.926, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.9261, allocations: 91.22 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9261, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002172/0.9263, allocations: 8 kB / 1.172 GB, free: 14.75 MB / 0.9044 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.000145/0.9265, allocations: 99.25 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.9268, allocations: 75.91 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9268, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.927, allocations: 31.97 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.9273, allocations: 15.81 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.9277, allocations: 171.6 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.928, allocations: 0.6807 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.928, allocations: 7.438 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.928, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.002151/0.9302, allocations: 0.7446 MB / 1.174 GB, free: 12.88 MB / 0.9044 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=480 -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/jenkins1/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