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.001713/0.001713, allocations: 116.4 kB / 17.13 MB, free: 5.781 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.002002/0.002002, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.547/2.547, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.002085/0.002085, allocations: 75.88 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2964, allocations: 160.7 MB / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002528/0.299, allocations: 0.7051 MB / 1.215 GB, free: 128 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3002, allocations: 0.8351 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.3002, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.3002, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.3003, allocations: 11.86 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3005, allocations: 11.98 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3006, allocations: 43.91 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3007, allocations: 4 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.3008, allocations: 23.86 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.3008, allocations: 23.91 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3009, allocations: 4 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.3009, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.3009, allocations: 15.92 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.3009, allocations: 19.92 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3011, allocations: 39.81 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3011, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3011, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3011, allocations: 0 / 1.216 GB, free: 15.07 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.0006644/0.3017, allocations: 359.3 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3018, allocations: 8.031 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.3018, allocations: 16.88 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.302, allocations: 168.3 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.302, allocations: 8.375 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.302, allocations: 384 / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3023, allocations: 74.09 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3023, allocations: 4.188 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3023, allocations: 3.938 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3023, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.3026, allocations: 67.92 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.3031, allocations: 268.9 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3033, allocations: 62.41 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3035, allocations: 40.86 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3035, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3035, allocations: 34.56 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3035, allocations: 0 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.3041, allocations: 133.6 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3042, allocations: 55.41 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3043, allocations: 105.8 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3043, allocations: 25.7 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.3043, allocations: 88.14 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3044, allocations: 11.84 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3044, allocations: 17.7 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3045, allocations: 318.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3047, allocations: 31.97 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3049, allocations: 31.95 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.3051, allocations: 72.78 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3051, allocations: 3.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003453/0.3055, allocations: 93.62 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3055, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3055, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3055, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3057, allocations: 23.92 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3057, allocations: 3.984 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.3058, allocations: 11.98 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3058, allocations: 0 / 1.218 GB, free: 12.74 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.173e-05/0.3059, allocations: 113.8 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3059, allocations: 7.953 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.3063, allocations: 109.8 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3063, allocations: 4.031 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3063, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3063, allocations: 3.938 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3065, allocations: 177.5 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3065, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.3066, allocations: 15.98 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3066, allocations: 3.938 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3066, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3066, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3066, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.307, allocations: 195.4 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.307, allocations: 81.11 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3071, allocations: 8 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3072, allocations: 11.98 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.3072, allocations: 3.984 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3072, allocations: 3.938 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.3073, allocations: 87.59 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002266/0.3075, allocations: 8 kB / 1.219 GB, free: 11.81 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.0001442/0.3077, allocations: 103.2 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.308, allocations: 71.86 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.308, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.3082, allocations: 31.97 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3085, allocations: 20.17 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.3089, allocations: 155.7 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3093, allocations: 0.6807 MB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.3093, allocations: 11.44 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 4.4e-07/0.3093, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.002485/0.3118, allocations: 0.7617 MB / 1.22 GB, free: 9.918 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.095614653080702]