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.001713/0.001713, allocations: 92.7 kB / 19.44 MB, free: 324 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.002108/0.002108, allocations: 161.3 kB / 22.75 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.257/3.257, allocations: 429.6 MB / 0.673 GB, free: 3.879 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.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 1.953e-06/1.953e-06, allocations: 0 / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.039e-05, allocations: 6.234 kB / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001797/0.001827, allocations: 0.6698 MB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003209, allocations: 0.8456 MB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.003241, allocations: 0 / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.00327, allocations: 4.969 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.00334, allocations: 8.594 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.003504, allocations: 7.984 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.003579, allocations: 29.05 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.003661, allocations: 3.938 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.003739, allocations: 15.97 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.003779, allocations: 13.02 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.003797, allocations: 4 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.003851, allocations: 9 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.003863, allocations: 0 / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.00389, allocations: 8 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.00401, allocations: 32.53 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.004012, allocations: 0 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004013, allocations: 5.25 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004016, allocations: 0 / 0.8793 GB, free: 4.785 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000474/0.00449, allocations: 258.3 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.00453, allocations: 12.62 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.004634, allocations: 2.312 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.004762, allocations: 117.6 kB / 0.8796 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004774, allocations: 384 / 0.8796 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.004782, allocations: 384 / 0.8796 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.004968, allocations: 54.95 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004976, allocations: 0.75 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004987, allocations: 4.375 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004991, allocations: 1.469 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.005172, allocations: 36.52 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.005499, allocations: 188.6 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.005644, allocations: 39.69 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.005753, allocations: 28.34 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.005773, allocations: 0 / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.005809, allocations: 38.55 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.005809, allocations: 0 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003919/0.006201, allocations: 81.58 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.006247, allocations: 52.22 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/0.006346, allocations: 105.8 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.006367, allocations: 26.3 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.006425, allocations: 80.14 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.006449, allocations: 9.359 kB / 0.8804 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.006481, allocations: 13.72 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.006666, allocations: 310.8 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.006765, allocations: 32.03 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.006839, allocations: 11.98 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.007003, allocations: 40.83 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007005, allocations: 0 / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.007215, allocations: 65.66 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.007229, allocations: 8.094 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.007235, allocations: 3.938 kB / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.007255, allocations: 0 / 0.8808 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.007345, allocations: 11.98 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.007352, allocations: 3.938 kB / 0.8808 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.007412, allocations: 15.94 kB / 0.8809 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.007417, allocations: 0 / 0.8809 GB, free: 3 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 (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 8.653e-05/0.007503, allocations: 105.8 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.007526, allocations: 4 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.007789, allocations: 80.84 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.007793, allocations: 4 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.007797, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.0078, allocations: 0 / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.007952, allocations: 105.3 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007953, allocations: 0 / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.008015, allocations: 7.984 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.00802, allocations: 4 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008026, allocations: 0 / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.00803, allocations: 7.969 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008031, allocations: 0 / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.008309, allocations: 159.5 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.008318, allocations: 4 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.00833, allocations: 4 kB / 0.8813 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.008416, allocations: 11.92 kB / 0.8813 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.00846, allocations: 0 / 0.8813 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.008463, allocations: 0 / 0.8813 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.008528, allocations: 83.31 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008528, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002239/0.008752, allocations: 8 kB / 0.8814 GB, free: 2.359 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 (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.0001151/0.008867, allocations: 95.23 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.009079, allocations: 39.91 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.00908, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.00917, allocations: 16.05 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.009445, allocations: 11.98 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.009771, allocations: 113.5 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.009842, allocations: 63.22 kB / 0.8817 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.009863, allocations: 0 / 0.8817 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.009895, allocations: 12.48 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/0.009896, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of Templates: time 0.002842/0.01274, allocations: 496.3 kB / 0.8822 GB, free: 1.492 MB / 0.8386 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.279654926038347]