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.001309/0.001309, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001458/0.001458, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.052/3.052, allocations: 0.49 GB / 0.7959 GB, free: 35.33 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.001978/0.001978, allocations: 64.14 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002133/0.3298, allocations: 0.6999 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3309, allocations: 0.8708 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.331, allocations: 4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.331, allocations: 3.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.3311, allocations: 3.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3312, allocations: 27.97 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.3313, allocations: 39.86 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3314, allocations: 11.98 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.3315, allocations: 15.94 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.3316, allocations: 23.89 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3316, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.3316, allocations: 12 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3316, allocations: 11.94 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.3317, allocations: 15.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3318, allocations: 43.81 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3318, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3318, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3318, allocations: 3.938 kB / 1.329 GB, free: 15.13 MB / 1.029 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.0005501/0.3324, allocations: 292.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3324, allocations: 12.02 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.3325, allocations: 4.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3326, allocations: 118.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.3326, allocations: 384 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3326, allocations: 4.375 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3329, allocations: 66.22 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3329, allocations: 192 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3329, allocations: 7.875 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3329, allocations: 11.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3332, allocations: 63.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.3336, allocations: 216.6 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3338, allocations: 46.55 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3339, allocations: 44.84 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3339, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.334, allocations: 30.56 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.334, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000574/0.3345, allocations: 133.5 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3346, allocations: 59.39 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3347, allocations: 105.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3347, allocations: 25.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3348, allocations: 96.08 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3348, allocations: 3.953 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3348, allocations: 13.72 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.335, allocations: 318.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3351, allocations: 31.97 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3353, allocations: 31.95 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3356, allocations: 72.73 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3356, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003332/0.3359, allocations: 105.5 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3359, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3359, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3359, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.336, allocations: 15.98 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3361, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.3361, allocations: 11.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3361, allocations: 0 / 1.331 GB, free: 13.04 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.039e-05/0.3362, allocations: 117.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3363, allocations: 11.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.3366, allocations: 113.5 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3366, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3367, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3367, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3368, allocations: 109.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3368, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.3369, allocations: 23.86 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3369, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3369, allocations: 384 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3369, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3369, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.3373, allocations: 207.3 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.3373, allocations: 7.891 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3373, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3374, allocations: 7.984 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3375, allocations: 15.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3375, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.3375, allocations: 87.27 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002172/0.3378, allocations: 8 kB / 1.332 GB, free: 12.27 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.0001284/0.3379, allocations: 99.23 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3382, allocations: 67.92 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3383, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3384, allocations: 39.91 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3387, allocations: 3.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.339, allocations: 155.9 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.3391, allocations: 63.34 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.3391, allocations: 15.44 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3391, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of Templates: time 0.002095/0.3412, allocations: 0.7754 MB / 1.333 GB, free: 11 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: 10.488135189050809]