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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.059 GB, free: 296 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 160.7 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002481/0.3842, allocations: 0.7133 MB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3854, allocations: 0.8389 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.3854, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3854, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.953e-05/0.3855, allocations: 19.86 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3857, allocations: 15.97 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3858, allocations: 39.92 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3859, allocations: 7.984 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.386, allocations: 23.86 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.3861, allocations: 19.92 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3861, allocations: 4 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3861, allocations: 4 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.3861, allocations: 11.92 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3862, allocations: 15.92 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3863, allocations: 39.81 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3863, allocations: 4 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3863, allocations: 4 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3863, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 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.0006256/0.3869, allocations: 363.3 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.387, allocations: 12.03 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.387, allocations: 4.891 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3872, allocations: 168.3 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3872, allocations: 4.375 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3872, allocations: 4.375 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3875, allocations: 70.16 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3875, allocations: 8.109 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3875, allocations: 3.938 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3875, allocations: 3.984 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.3878, allocations: 63.94 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.3883, allocations: 272.9 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3884, allocations: 54.47 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3886, allocations: 48.86 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3886, allocations: 3.938 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3887, allocations: 34.55 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3887, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005288/0.3892, allocations: 125.6 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3893, allocations: 51.41 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3894, allocations: 109.8 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3894, allocations: 25.7 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.3895, allocations: 88.12 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3895, allocations: 11.91 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.3896, allocations: 13.72 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3897, allocations: 314.8 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3899, allocations: 39.89 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.39, allocations: 31.97 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.3903, allocations: 68.78 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3903, allocations: 7.938 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002895/0.3906, allocations: 93.62 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3906, allocations: 8 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3906, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3906, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3907, allocations: 15.97 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3907, allocations: 4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.3908, allocations: 19.92 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3908, allocations: 4 kB / 1.22 GB, free: 11.15 MB / 0.9669 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 9.889e-05/0.3909, allocations: 109.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.391, allocations: 7.953 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.3913, allocations: 105.5 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3913, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3913, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3914, allocations: 8.297 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3916, allocations: 173.5 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3916, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.3917, allocations: 11.98 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3917, allocations: 0 / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3917, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3917, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3917, allocations: 7.938 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.3921, allocations: 203.3 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3921, allocations: 77.11 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3921, allocations: 4 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3922, allocations: 11.98 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3923, allocations: 7.984 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3923, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.3924, allocations: 95.52 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3924, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002189/0.3926, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 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.0002084/0.3928, allocations: 103.2 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.3931, allocations: 71.86 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3932, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3933, allocations: 35.97 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3936, allocations: 9.953 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.3941, allocations: 146 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3945, allocations: 0.6807 MB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3945, allocations: 4 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3945, allocations: 11.42 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.3945, allocations: 0 / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.003391/0.3979, allocations: 0.6867 MB / 1.222 GB, free: 8.434 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.684976821765304]