Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001919/0.001919, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002142/0.002142, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.66/1.66, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.368/3.368, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.996e-05, allocations: 3.875 kB / 0.8775 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00189/0.00192, allocations: 0.7058 MB / 0.8782 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003158, allocations: 0.8696 MB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.003197, allocations: 0 / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.003225, allocations: 3.938 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.003324, allocations: 15.67 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003525, allocations: 19.91 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.003627, allocations: 47.84 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003734, allocations: 4.656 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003847, allocations: 27.97 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.003898, allocations: 17.58 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.003917, allocations: 4 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.003974, allocations: 8 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.003997, allocations: 11.97 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.004026, allocations: 15.62 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004157, allocations: 47.86 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004159, allocations: 0 / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00416, allocations: 0 / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004164, allocations: 0 / 0.8793 GB, free: 4.781 MB / 0.8386 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.0005668/0.004731, allocations: 384.1 kB / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.004772, allocations: 12.03 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.004885, allocations: 8.875 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.005298, allocations: 120.5 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.005311, allocations: 1.312 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.005324, allocations: 8.312 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.005513, allocations: 59.27 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.005522, allocations: 192 / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.005539, allocations: 4.359 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.005543, allocations: 1.5 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.00572, allocations: 43.91 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.006202, allocations: 268.9 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.006366, allocations: 47.05 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.006468, allocations: 36.73 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.006491, allocations: 0.6562 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.006525, allocations: 33.39 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006526, allocations: 3.625 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004051/0.006931, allocations: 109.5 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.006977, allocations: 51.41 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.007121, allocations: 173.9 kB / 0.8806 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.00714, allocations: 25.7 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.007223, allocations: 134.9 kB / 0.8807 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007246, allocations: 11.89 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.00729, allocations: 23.38 kB / 0.8808 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.007545, allocations: 496.8 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.007635, allocations: 20.58 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.007718, allocations: 20.55 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.007882, allocations: 49.03 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007884, allocations: 0 / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002307/0.008115, allocations: 87.55 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.008132, allocations: 7.938 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.008137, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008151, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.008249, allocations: 13.52 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008253, allocations: 0 / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.008303, allocations: 4 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.008309, allocations: 0.7812 kB / 0.8814 GB, free: 2.375 MB / 0.8386 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 0.0001181/0.008427, allocations: 164.6 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.008456, allocations: 8.891 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.008717, allocations: 89.53 kB / 0.8817 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008719, allocations: 0 / 0.8817 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008722, allocations: 3.938 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008724, allocations: 0 / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.008896, allocations: 136.6 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008897, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.008973, allocations: 11.98 kB / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008975, allocations: 0 / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.008982, allocations: 0 / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.008986, allocations: 3.938 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008986, allocations: 4 kB / 0.8818 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.009297, allocations: 223.8 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.009309, allocations: 7.953 kB / 0.8821 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.009323, allocations: 4 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.009405, allocations: 11.92 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.009445, allocations: 0 / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.009452, allocations: 4 kB / 0.8821 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.635e-05/0.009538, allocations: 131.2 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009538, allocations: 0 / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002104/0.009748, allocations: 8 kB / 0.8822 GB, free: 1.508 MB / 0.8386 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.0001393/0.009888, allocations: 95.25 kB / 0.8823 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.01014, allocations: 59.64 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01014, allocations: 0 / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01025, allocations: 35.61 kB / 0.8824 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.0105, allocations: 8 kB / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.01084, allocations: 134.3 kB / 0.8825 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.01091, allocations: 71.2 kB / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.01094, allocations: 0 / 0.8826 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.01098, allocations: 12.5 kB / 0.8826 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.01098, allocations: 0 / 0.8826 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of Templates: time 0.003726/0.0147, allocations: 0.7549 MB / 0.8834 GB, free: 304 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.531775058945641]