Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009899/0.0009899, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002677, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002588, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09973/1.105, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.984/1.984, allocations: 378.3 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5274/2.511, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7297 GB, free: 4.328 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.468e-05, allocations: 3.688 kB / 0.7297 GB, free: 4.324 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002275/0.002299, allocations: 0.734 MB / 0.7304 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003352, allocations: 0.8734 MB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.003383, allocations: 3.344 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.003409, allocations: 3.938 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.003446, allocations: 1.312 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.003547, allocations: 20.56 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.003627, allocations: 20.69 kB / 0.7313 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.00371, allocations: 12 kB / 0.7313 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.003805, allocations: 18.22 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.00385, allocations: 4.547 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003867, allocations: 4 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.003939, allocations: 12.48 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003956, allocations: 6.234 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003973, allocations: 5.531 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.004084, allocations: 10.83 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.004097, allocations: 0 / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.0041, allocations: 3.984 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.004115, allocations: 0 / 0.7314 GB, free: 2.633 MB / 0.698 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.0004147/0.00453, allocations: 238 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.004568, allocations: 13.31 kB / 0.7316 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.004709, allocations: 78.05 kB / 0.7317 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.004822, allocations: 113.7 kB / 0.7318 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.004838, allocations: 1.625 kB / 0.7318 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.004851, allocations: 4.375 kB / 0.7318 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.004969, allocations: 54.89 kB / 0.7319 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.004977, allocations: 2.219 kB / 0.7319 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004986, allocations: 4.375 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004992, allocations: 1.969 kB / 0.7319 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.005015, allocations: 3.938 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.005242, allocations: 148.3 kB / 0.732 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.005295, allocations: 19.23 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.005309, allocations: 4.859 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.005325, allocations: 5.297 kB / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.005351, allocations: 42.61 kB / 0.7321 GB, free: 1.809 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.005353, allocations: 0 / 0.7321 GB, free: 1.809 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001196/0.005472, allocations: 35.14 kB / 0.7321 GB, free: 1.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.005505, allocations: 55.34 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.005607, allocations: 102.7 kB / 0.7323 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005617, allocations: 26.27 kB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.005654, allocations: 89.11 kB / 0.7324 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.005675, allocations: 9.234 kB / 0.7324 GB, free: 1.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.005703, allocations: 9.719 kB / 0.7324 GB, free: 1.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.005802, allocations: 322.8 kB / 0.7327 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.005815, allocations: 4.594 kB / 0.7327 GB, free: 1.117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.005825, allocations: 4 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.005854, allocations: 9.984 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005857, allocations: 0 / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.984e-05/0.005916, allocations: 38.66 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00593, allocations: 4.766 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005935, allocations: 0.7812 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.00595, allocations: 0 / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.006028, allocations: 12.56 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.006034, allocations: 7.984 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.006056, allocations: 4.891 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006061, allocations: 3.938 kB / 0.7328 GB, free: 1.027 MB / 0.698 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 6.303e-05/0.006124, allocations: 116.3 kB / 0.7329 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.006143, allocations: 192 / 0.7329 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.006232, allocations: 45 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.006235, allocations: 5.328 kB / 0.733 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006238, allocations: 3.938 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00624, allocations: 0 / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.00635, allocations: 65.89 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006352, allocations: 1.906 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.006393, allocations: 4 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006403, allocations: 7.953 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006406, allocations: 1.25 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.00641, allocations: 0 / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006412, allocations: 0 / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.006415, allocations: 4.703 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.00658, allocations: 132.2 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-06/0.006589, allocations: 4.531 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.006649, allocations: 4.859 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.006682, allocations: 8 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006687, allocations: 1.062 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.673e-05/0.006703, allocations: 12.8 kB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006704, allocations: 0.9844 kB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001782/0.006882, allocations: 5.219 kB / 0.7332 GB, free: 0.5664 MB / 0.698 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.0001064/0.006988, allocations: 76.41 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/0.007054, allocations: 13.77 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.007059, allocations: 1.203 kB / 0.7333 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.007086, allocations: 17.77 kB / 0.7333 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.007296, allocations: 39.22 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/0.00805, allocations: 119.6 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.008088, allocations: 51.36 kB / 0.7335 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.381e-05/0.008112, allocations: 4.969 kB / 0.7335 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.008163, allocations: 51.38 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.008164, allocations: 0.6562 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of Templates: time 0.002317/0.01048, allocations: 468.6 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.013989077880979]