Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.001688/0.001688, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.002018/0.002018, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.555/1.555, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.001/3.001, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.849e-05/4.229e-05, allocations: 2.281 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001881/0.001923, allocations: 0.6687 MB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.00309, allocations: 0.8471 MB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.003133, allocations: 0 / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.003162, allocations: 0 / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.003219, allocations: 11.88 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.00342, allocations: 11.98 kB / 1.002 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.003497, allocations: 23.92 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003601, allocations: 3.984 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.003674, allocations: 15.98 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.003708, allocations: 0 / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003727, allocations: 8 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.003782, allocations: 11.98 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.0038, allocations: 3.938 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.003823, allocations: 8 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.00395, allocations: 35.81 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.003955, allocations: 4 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003956, allocations: 0 / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.003965, allocations: 0 / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000494/0.004459, allocations: 254.3 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.004502, allocations: 12.03 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.004594, allocations: 8.938 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004731, allocations: 109.7 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.00474, allocations: 384 / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.004755, allocations: 384 / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.004951, allocations: 50.23 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.004962, allocations: 4.125 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.004972, allocations: 384 / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.004979, allocations: 4.375 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.005156, allocations: 47.77 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.005494, allocations: 188.6 kB / 1.002 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.005635, allocations: 30.56 kB / 1.002 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.005732, allocations: 28.89 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.00576, allocations: 0 / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.005794, allocations: 30.56 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.005795, allocations: 0 / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004343/0.006229, allocations: 97.47 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.006276, allocations: 51.41 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.006395, allocations: 101.9 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.006419, allocations: 25.7 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.006487, allocations: 84.12 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.006511, allocations: 3.953 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.006551, allocations: 17.72 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.006705, allocations: 310.8 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.006797, allocations: 20.11 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.00688, allocations: 19.97 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.007051, allocations: 40.77 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007054, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000209/0.007263, allocations: 61.66 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.007286, allocations: 12.09 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.007295, allocations: 3.938 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.00732, allocations: 0 / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.007436, allocations: 8.172 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.007442, allocations: 0 / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.007492, allocations: 8 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.007504, allocations: 8 kB / 1.003 GB, free: 3.781 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001132/0.007617, allocations: 109.8 kB / 1.003 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.007646, allocations: 3.984 kB / 1.003 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.007923, allocations: 84.84 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.007927, allocations: 0 / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.007931, allocations: 0 / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007934, allocations: 0 / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.008108, allocations: 109.2 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008109, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.008169, allocations: 8 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008171, allocations: 0 / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.008181, allocations: 0 / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.008188, allocations: 11.95 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008189, allocations: 0 / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.008467, allocations: 159.5 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.008483, allocations: 7.984 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.008498, allocations: 7.875 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.008579, allocations: 7.938 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.008644, allocations: 3.984 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.00865, allocations: 4 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.008706, allocations: 83.31 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.008706, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002241/0.00893, allocations: 4 kB / 1.004 GB, free: 3.121 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0002043/0.009134, allocations: 99.23 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.009409, allocations: 35.95 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009411, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.009507, allocations: 24.05 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.009916, allocations: 6.438 kB / 1.004 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.0104, allocations: 116.7 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.639e-05/0.01048, allocations: 63.34 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.0105, allocations: 0 / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.01054, allocations: 8.5 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.01054, allocations: 0 / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of Templates: time 0.003022/0.01356, allocations: 467.6 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.527099259197712]