Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007846/0.0007846, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.9 MB / 0.6229 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9823 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.429e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001204/0.001228, allocations: 0.699 MB / 0.983 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000761/0.001989, allocations: 0.8665 MB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.002023, allocations: 3.938 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002053, allocations: 3.938 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.897e-05/0.002112, allocations: 3.938 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.002293, allocations: 15.98 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.002368, allocations: 55.77 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.00246, allocations: 12 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.00253, allocations: 23.97 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.002565, allocations: 11.98 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.002582, allocations: 4 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.002623, allocations: 8 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.002638, allocations: 11.92 kB / 0.984 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002658, allocations: 11.98 kB / 0.984 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.002767, allocations: 59.73 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002769, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00277, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002773, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 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.0003791/0.003153, allocations: 290.2 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003186, allocations: 8.031 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.003258, allocations: 12.88 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.003332, allocations: 109.7 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003343, allocations: 384 / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.003352, allocations: 8.375 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.003508, allocations: 62.22 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003515, allocations: 4.188 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.003526, allocations: 4.375 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003532, allocations: 4.375 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.003673, allocations: 67.8 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.003945, allocations: 212.6 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.004066, allocations: 50.53 kB / 0.9848 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.004142, allocations: 40.92 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.004162, allocations: 3.984 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.004184, allocations: 34.5 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004185, allocations: 0 / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003078/0.004493, allocations: 141.7 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.004521, allocations: 51.41 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.004581, allocations: 105.8 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.00459, allocations: 29.64 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.004625, allocations: 92.12 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.004644, allocations: 11.84 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.00467, allocations: 17.72 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.004743, allocations: 314.8 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.004818, allocations: 39.95 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.004885, allocations: 27.97 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.005021, allocations: 72.72 kB / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005023, allocations: 0 / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001634/0.005186, allocations: 97.62 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005198, allocations: 7.938 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005202, allocations: 0 / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005215, allocations: 3.984 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.005289, allocations: 15.98 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.005294, allocations: 0 / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.005331, allocations: 11.98 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.005337, allocations: 0 / 0.9859 GB, free: 14.14 MB / 0.948 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.34e-05/0.00539, allocations: 117.8 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.005403, allocations: 3.953 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.005596, allocations: 113.5 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.0056, allocations: 3.984 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005604, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.005606, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.005694, allocations: 109.3 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.005694, allocations: 4 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.005737, allocations: 23.92 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005738, allocations: 0 / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005745, allocations: 0 / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.005747, allocations: 4.25 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005747, allocations: 0 / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.005936, allocations: 207.4 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005941, allocations: 0 / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005952, allocations: 4 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.006004, allocations: 11.92 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.006036, allocations: 7.984 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.006038, allocations: 0 / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.006069, allocations: 95.2 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006069, allocations: 0 / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001445/0.006214, allocations: 4 kB / 0.9866 GB, free: 13.38 MB / 0.948 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 8.99e-05/0.006304, allocations: 107.8 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.006488, allocations: 63.92 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.00649, allocations: 4 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.006562, allocations: 36.23 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.006769, allocations: 7.984 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.007031, allocations: 154.4 kB / 0.9869 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.007074, allocations: 63.34 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.007104, allocations: 12.5 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.007105, allocations: 0 / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of Templates: time 0.001722/0.008827, allocations: 0.7745 MB / 0.9878 GB, free: 12.11 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.641385626979172]