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.001311/0.001311, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001464/0.001464, allocations: 220.3 kB / 23 MB, free: 4.914 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 73.67 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002353/0.3717, allocations: 0.6857 MB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3731, allocations: 0.867 MB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.3731, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.3732, allocations: 11.88 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.3732, allocations: 7.938 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.3735, allocations: 27.91 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3736, allocations: 43.86 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3737, allocations: 7.984 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.3738, allocations: 23.92 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.3738, allocations: 23.84 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3738, allocations: 4 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.3739, allocations: 8 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.3739, allocations: 8 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3739, allocations: 15.92 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3741, allocations: 47.8 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3741, allocations: 4 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3741, allocations: 0 / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3741, allocations: 3.938 kB / 1.328 GB, free: 24 kB / 1.014 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.0006064/0.3747, allocations: 288.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3748, allocations: 12.03 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3749, allocations: 8.922 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.375, allocations: 114.5 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.375, allocations: 384 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.375, allocations: 4.375 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3753, allocations: 70.16 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3753, allocations: 4.172 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3753, allocations: 7.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3753, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.3756, allocations: 71.92 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.376, allocations: 204.6 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3762, allocations: 50.55 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3764, allocations: 44.78 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3764, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3764, allocations: 38.56 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3764, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005659/0.377, allocations: 125.5 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3771, allocations: 55.39 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3772, allocations: 105.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3772, allocations: 25.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.3772, allocations: 96.06 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3773, allocations: 7.953 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3773, allocations: 13.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3775, allocations: 318.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3776, allocations: 31.91 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3778, allocations: 35.95 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.378, allocations: 68.73 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.378, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.3784, allocations: 105.5 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3784, allocations: 8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3784, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3784, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3785, allocations: 15.98 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3786, allocations: 11.88 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.3787, allocations: 7.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3787, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 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.554e-05/0.3788, allocations: 109.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.3788, allocations: 15.88 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3792, allocations: 105.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3792, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3792, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3792, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3793, allocations: 113.3 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3793, allocations: 384 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.3794, allocations: 15.92 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3794, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3794, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3795, allocations: 7.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3795, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.3799, allocations: 195.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.3799, allocations: 11.89 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3799, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.38, allocations: 11.98 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.38, allocations: 15.98 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.38, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.3801, allocations: 91.27 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3801, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002259/0.3803, allocations: 8 kB / 1.331 GB, free: 13.16 MB / 1.029 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.000122/0.3805, allocations: 97.34 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.3808, allocations: 75.86 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3808, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.381, allocations: 31.97 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.3813, allocations: 7.984 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.3817, allocations: 151.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.3817, allocations: 71.28 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.3818, allocations: 11.44 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3818, allocations: 3.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Templates: time 0.002536/0.3843, allocations: 0.7682 MB / 1.332 GB, free: 11.9 MB / 1.029 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/jenkins1/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: 11.04081698693335]