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.001359/0.001359, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001485/0.001485, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.956/2.956, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.394e-06/2.394e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.809e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002045/0.002073, allocations: 0.6709 MB / 0.9821 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003091, allocations: 0.8431 MB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.003121, allocations: 0 / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.003142, allocations: 0 / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.003202, allocations: 7.938 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003357, allocations: 11.98 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.003423, allocations: 19.92 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.003507, allocations: 15.98 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.003591, allocations: 11.94 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003638, allocations: 7.984 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.003654, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.003701, allocations: 8 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.003713, allocations: 3.938 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.003736, allocations: 11.98 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003853, allocations: 35.77 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003856, allocations: 0 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003857, allocations: 0 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.00386, allocations: 0 / 0.9831 GB, free: 10.25 MB / 0.9356 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.0004153/0.004276, allocations: 266.3 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.00431, allocations: 8.031 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.743e-05/0.004388, allocations: 4.891 kB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.0045, allocations: 117.7 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004511, allocations: 384 / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.00452, allocations: 4.375 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.004701, allocations: 46.23 kB / 0.9835 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.004708, allocations: 4.188 kB / 0.9835 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004718, allocations: 384 / 0.9835 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004722, allocations: 4.375 kB / 0.9835 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.004893, allocations: 35.84 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.005194, allocations: 188.6 kB / 0.9838 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.005348, allocations: 38.56 kB / 0.9838 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.005441, allocations: 20.91 kB / 0.9838 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.005461, allocations: 0 / 0.9838 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.00549, allocations: 30.56 kB / 0.9838 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.005491, allocations: 8 kB / 0.9838 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.005843, allocations: 85.52 kB / 0.9839 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.005883, allocations: 51.41 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.005966, allocations: 109.8 kB / 0.9841 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.005983, allocations: 25.7 kB / 0.9841 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.006083, allocations: 84.09 kB / 0.9842 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.006097, allocations: 0 / 0.9842 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.006132, allocations: 21.84 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.006268, allocations: 314.8 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.006371, allocations: 19.92 kB / 0.9845 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.006447, allocations: 15.98 kB / 0.9845 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.006617, allocations: 48.75 kB / 0.9846 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006619, allocations: 0 / 0.9846 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.006819, allocations: 69.69 kB / 0.9847 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.006833, allocations: 4 kB / 0.9847 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.00684, allocations: 3.938 kB / 0.9847 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006852, allocations: 0 / 0.9847 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.006945, allocations: 11.98 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006949, allocations: 0 / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.006999, allocations: 7.984 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007005, allocations: 3.938 kB / 0.9847 GB, free: 8.449 MB / 0.9356 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.426e-05/0.007089, allocations: 113.9 kB / 0.9848 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007114, allocations: 4 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.007368, allocations: 72.84 kB / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00737, allocations: 0 / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007375, allocations: 0 / 0.9849 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.00738, allocations: 3.984 kB / 0.9849 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.007527, allocations: 105.3 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007527, allocations: 0 / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.007589, allocations: 12.02 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007591, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007598, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.007607, allocations: 7.938 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007608, allocations: 0 / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.007861, allocations: 159.5 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.007871, allocations: 7.953 kB / 0.9851 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.007883, allocations: 3.938 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.007969, allocations: 15.95 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.008003, allocations: 4 kB / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.008006, allocations: 0 / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.008056, allocations: 87.27 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008056, allocations: 0 / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002169/0.008273, allocations: 4 kB / 0.9853 GB, free: 7.801 MB / 0.9356 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.000133/0.008406, allocations: 91.25 kB / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.008623, allocations: 39.95 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.008624, allocations: 3.938 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.008711, allocations: 19.98 kB / 0.9854 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.009009, allocations: 6.188 kB / 0.9854 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.00938, allocations: 112.7 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.009444, allocations: 59.34 kB / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.009467, allocations: 4 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.0095, allocations: 12.62 kB / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.0095, allocations: 0 / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.003104/0.0126, allocations: 464.3 kB / 0.986 GB, free: 6.961 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.386989142745733]